DKWROOT Scripts ( Lots of Improvements )

Moho allows users to write new tools and plugins. Discuss scripting ideas and problems here.

Moderators: Víctor Paredes, Belgarath, slowtiger

User avatar
Panha
Posts: 221
Joined: Sat Oct 21, 2023 7:59 am

Re: DKWROOT Scripts ( Lots of Improvements )

Post by Panha »

What a great script! Installing this script, feel like installing another updated version of Moho. The scripts added more functionality and new features to the default one that help the work much faster. Something like toggle fill and stroke. It reduce extra step to transparency the fill and stroke. ❤️😍 However, in Select shape tool, it lost the function to select all shapes, liquid shapes functions.
Sreng Pagna, animator and author
Leks Luci
Posts: 18
Joined: Sat Nov 04, 2023 1:24 pm

Re: DKWROOT Scripts ( Lots of Improvements )

Post by Leks Luci »

Here is a little more on the matter about working with points.
Pardon me for writing in this topic about another tool. This message is just for informational purposes, so maybe someone else would also find it useful.
There is the LK_SelectPoints script, that extends your productivity in working with points.
The download link of the script is on the author's page
https://mohoscripts.com/script/LK_SelectPoints
Installing the script, by default, hides the native Moho Select Tool from the panel, thus quitting access to the DKWROOT Select Points script from the toolbar.
Obviously, I wanted to have both tools available, the native one with DKWROOT tools and LK one.
Therefore, I have modified it a bit, so it would be possible to have both: the native Moho's Select Tool and the LK's Select Tool available at the same time. Here is the link to the modified LK_SelectPoints script.
https://www.mediafire.com/file/sfpypdh0 ... s.lua/file
First, download and install the script from the author's page and then overwrite it with the modified one.
Last edited by Leks Luci on Thu Jul 25, 2024 12:26 pm, edited 2 times in total.
User avatar
Greenlaw
Posts: 10588
Joined: Mon Jun 19, 2006 9:45 am
Location: Los Angeles
Contact:

Re: DKWROOT Scripts ( Lots of Improvements )

Post by Greenlaw »

Hey Leks, thanks for the insight!

I'm still a novice when It comes to creating and fixing scripts, so this is helpful info. :D
Leks Luci
Posts: 18
Joined: Sat Nov 04, 2023 1:24 pm

Re: DKWROOT Scripts ( Lots of Improvements )

Post by Leks Luci »

Hey Greenlaw, you're welcome. I'm also a novice at scripting, and I'm glad to see that you find it helpful. By the way, don't forget to redownload fixed lm_select_points script.
Leks Luci wrote: Thu Jul 25, 2024 4:08 am Please redownload the script:

https://www.mediafire.com/file/b24m5mq5 ... s.lua/file

I have fixed the error where the Split function wasn't working properly. It was splitting only while the whole shape was selected, but not splitting a single line, that is a segment between two points, it wasn't functioning. Now it's fixed, so now it's possible to split a single segment as well as a whole shape.

Thank you.
User avatar
lucasfranca
Posts: 187
Joined: Sat Oct 07, 2017 3:47 pm

Re: DKWROOT Scripts ( Lots of Improvements )

Post by lucasfranca »

Leks Luci wrote: Thu Jul 25, 2024 7:48 am Here is a little more on the matter about working with points.
Pardon me for writing in this topic about another tool. This message is just for informational purposes, so maybe someone else would also find it useful.
There is the LK_SelectPoints script, that extends your productivity in working with points.
The download link of the script is on the author's page
https://mohoscripts.com/script/LK_SelectPoints
Installing the script, by default, hides the native Moho Select Tool from the panel, thus quitting access to the DKWROOT Select Points script from the toolbar.
Obviously, I wanted to have both tools available, the native one with DKWROOT tools and LK one.
Therefore, I have modified it a bit, so it would be possible to have both: the native Moho's Select Tool and the LK's Select Tool available at the same time. Here is the link to the modified LK_SelectPoints script.
https://www.mediafire.com/file/sfpypdh0 ... s.lua/file
First, download and install the script from the author's page and then overwrite it with the modified one.
Very good, I found myself in the same situation, I wanted both at the same time. Thanks for resolving this. Speaking of which, the select points tool was updated in the new versions, I believe 14, so there are some things out of date in the native version with DKWROOT. Can you update it? These aren't things that affect how it works, but it's always good to keep everything up to date!
An old guy [since 1983] who was raised in front of the TV.
Passionate about animation, after getting old, he decides to make it his hobby.

I share tutorials, reviews, tips and tricks from this vast world of animation on my channel.

https://youtube.com/animai2D
Leks Luci
Posts: 18
Joined: Sat Nov 04, 2023 1:24 pm

Re: DKWROOT Scripts ( Lots of Improvements )

Post by Leks Luci »

lucasfranca wrote: Fri Jul 26, 2024 4:59 am Very good, I found myself in the same situation, I wanted both at the same time. Thanks for resolving this. Speaking of which, the select points tool was updated in the new versions, I believe 14, so there are some things out of date in the native version with DKWROOT. Can you update it? These aren't things that affect how it works, but it's always good to keep everything up to date!
lucasfranca, thanks. For the moment you have me worried that I have missed a new update or something new in the code. The current lm_select_points.lua modified script is already updated to version 14 of Moho. I have begun modifying the script for the exact same reason, to have the Mirror and Swap functionality along with Moho's v14 updated toolset. Also, I have checked it out again, just now, in case if there is something new that was added between v14 and v14.x releases. Visually the toolset is the same as in the latest version of Moho, that is 14.2 build .... And the code is also still the same.
Last edited by Leks Luci on Fri Jul 26, 2024 8:42 pm, edited 2 times in total.
User avatar
lucasfranca
Posts: 187
Joined: Sat Oct 07, 2017 3:47 pm

Re: DKWROOT Scripts ( Lots of Improvements )

Post by lucasfranca »

Forgive me, I didn't read the previous posts and I just installed it. Thank you very much for the upgrade.
An old guy [since 1983] who was raised in front of the TV.
Passionate about animation, after getting old, he decides to make it his hobby.

I share tutorials, reviews, tips and tricks from this vast world of animation on my channel.

https://youtube.com/animai2D
Leks Luci
Posts: 18
Joined: Sat Nov 04, 2023 1:24 pm

Re: DKWROOT Scripts ( Lots of Improvements )

Post by Leks Luci »

Could some one please confirm having the same bug as in the topic by the link below in the latest release of Moho (v14.2 build 20240604). Thanks.

viewtopic.php?p=219749#p219749
User avatar
synthsin75
Posts: 10342
Joined: Mon Jan 14, 2008 2:20 pm
Location: Oklahoma
Contact:

Re: DKWROOT Scripts ( Lots of Improvements )

Post by synthsin75 »

Leks Luci wrote: Fri Jul 26, 2024 10:24 pm Could some one please confirm having the same bug as in the topic by the link below in the latest release of Moho (v14.2 build 20240604). Thanks.

viewtopic.php?p=219749#p219749
Please don't post unrelated topics. This is a thread about scripts, not about bugs.
Hungover
Posts: 1
Joined: Wed Aug 13, 2025 6:47 pm

Re: DKWROOT Scripts ( Lots of Improvements )

Post by Hungover »

Thanks for the script
SimianProphet
Posts: 3
Joined: Mon Jun 30, 2025 4:17 pm

Re: DKWROOT Scripts ( Lots of Improvements )

Post by SimianProphet »

I'm very interested in trying this script out, but I'm not clear on which version of Moho it will work with. I am using Moho 12.5 for the time being, should I be downloading an older version of the script, or would the current version be fine?

In general, are there scripts to avoid installing on older versions of Moho?
User avatar
Greenlaw
Posts: 10588
Joined: Mon Jun 19, 2006 9:45 am
Location: Los Angeles
Contact:

Re: DKWROOT Scripts ( Lots of Improvements )

Post by Greenlaw »

Good question! I’m using Moho 14.3, but I keep Moho 12.5 on the same computer for testing. I can check if the updated version works in 12.5 when I get home later today.
dkwroot
Posts: 681
Joined: Wed May 01, 2013 10:56 pm
Location: USA
Contact:

Re: DKWROOT Scripts ( Lots of Improvements )

Post by dkwroot »

Hi guys,

I haven't updated or touched this script in a long time. It was made for a much older version of Moho, so I'm shocked that it still works at all. You guys could probably plug the script into chatGPT and give it the location of the updated API. Then just tell the AI what the error code is and let it work on fixing it. It might take a few shots, but it can probably get this running again.

Honestly, I haven't messed with Lua or the Moho API in so long that I don't remember any of this stuff. :lol:
User avatar
Greenlaw
Posts: 10588
Joined: Mon Jun 19, 2006 9:45 am
Location: Los Angeles
Contact:

Re: DKWROOT Scripts ( Lots of Improvements )

Post by Greenlaw »

dkwroot wrote: Thu Oct 02, 2025 5:10 pm Hi guys,

I haven't updated or touched this script in a long time...Honestly, I haven't messed with Lua or the Moho API in so long that I don't remember any of this stuff. :lol:
Hi DKWRoot!

No worries! It's good to see you're still around.

Image
User avatar
Greenlaw
Posts: 10588
Joined: Mon Jun 19, 2006 9:45 am
Location: Los Angeles
Contact:

Re: DKWROOT Scripts ( Lots of Improvements )

Post by Greenlaw »

Greenlaw wrote: Tue Sep 23, 2025 1:51 pm Good question! I’m using Moho 14.3, but I keep Moho 12.5 on the same computer for testing. I can check if the updated version works in 12.5 when I get home later today.
Whoops! Sorry, I forgot to check on this. The dr_mirror and dr_swap Menu scripts I uploaded a few posts back work perfectly in Moho 12.5 and 14.3. I haven't tested the Tool scripts in the first package in Moho 14.3 because I mainly just use the two Menu scripts.

When I have time, I'll test the Tool scripts from the original pack in 12.5 and 14.3. I assume they all work in 12.5. Leks pointed out that the lm_select_points script mod from the pack needs to be updated for Moho 14.3, and he included a download link for the update.

The LK_Select Points tool from Mohoscripts.com is another mod to the native lm_select_points, and different from lm_select_points mod that comes with the original DWKRoot pack. According to the webpage, this one was written for Moho 13.5 and updated for Moho 14.3. I'm assuming it won't work for Moho 12.5, but if you try it in 12.5, let us know how it goes.

Additional note: if you're new to Moho, be sure to install the scripts in your Custom Content Folder. DO NOT install them in your Programs folder. Script mods installed in the Custom Content Folder that have the same name as native scripts, will load in place of the native scripts on launch. The native scripts in the Programs folder will remain intact, so if you need to revert to the native versions, you can safely remove the mod versions from the Custom Content Folder and relaunch Moho.
Post Reply