MohoScripting.com - unofficial Moho scripting documentation

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

Moderators: Víctor Paredes, Belgarath, slowtiger

User avatar
Stan
Posts: 253
Joined: Sun Apr 19, 2009 7:22 am

Re: MohoScripting.com - unofficial Moho scripting documentation

Post by Stan »

SimplSam wrote: Fri May 08, 2026 12:22 am Wanted to update the SetCurFrame method, but could not edit the Argument list. Not sure if that is possible for us wee mortals.

In any event, the 2nd parameter - should be updateUI. i.e.: SetCurFrame(frame, updateUI, enableBoneDynamics) -- which allows the suspension of UI updates during the frame change. This suspension can make a significant difference in overall processing time (like: 10x) - if traversing multiple frames in batch (as done with the glTF export).
Thanks Sam! I fixed the argument type in the db record. Feel free to add a description if you'd like.
________________________________________________________________________
https://mohoscripting.com/ - Unofficial Moho Lua scripting documentation
https://mohoscripts.com/ - The best place to publish and download scripts for Moho
User avatar
synthsin75
Posts: 10462
Joined: Mon Jan 14, 2008 2:20 pm
Location: Oklahoma
Contact:

Re: MohoScripting.com - unofficial Moho scripting documentation

Post by synthsin75 »

The link to the constants was going to the Introduction page for this function: https://mohoscripting.com/methods/lm.gui-alert
I changed the url from "?show=module&name=LM.GUI#Alert_boxes" to "https://mohoscripting.com/modules/lm-gui#alert-boxes"

The link is working now, but if there's a preferred way to reference the link, please update it.

Thanks,
User avatar
Stan
Posts: 253
Joined: Sun Apr 19, 2009 7:22 am

Re: MohoScripting.com - unofficial Moho scripting documentation

Post by Stan »

synthsin75 wrote: Sun May 10, 2026 12:58 pm The link to the constants was going to the Introduction page for this function: https://mohoscripting.com/methods/lm.gui-alert
I changed the url from "?show=module&name=LM.GUI#Alert_boxes" to "https://mohoscripting.com/modules/lm-gui#alert-boxes"

The link is working now, but if there's a preferred way to reference the link, please update it.

Thanks,
Yes, that's the correct way to reference constant links. Thank you Wes!
________________________________________________________________________
https://mohoscripting.com/ - Unofficial Moho Lua scripting documentation
https://mohoscripts.com/ - The best place to publish and download scripts for Moho
Post Reply