Search found 191 matches

by Stan
Thu May 01, 2025 9:25 pm
Forum: Scripting
Topic: is SimpleDialog() crashing my code? - string "lolua: embedded Lua code"]:4: bad argument #1 to 'for iterator' (table exp
Replies: 1
Views: 82

Re: is SimpleDialog() crashing my code? - string "lolua: embedded Lua code"]:4: bad argument #1 to 'for iterator' (table

LM.GUI.SimpleDialog expects two arguments. See here: https://mohoscripting.com/methods/lm.gui-simpledialog. If you try the Create New Script tool on mohoscripting.com, it will generate you a working example: local MyScriptDialog = {} function MyScriptDialog:new() local d = LM.GUI.SimpleDialog('', My...
by Stan
Thu Apr 03, 2025 11:58 pm
Forum: How Do I...?
Topic: Ungroup object keeping transformation
Replies: 3
Views: 1144

Re: Ungroup object keeping transformation

There's also another script by A.Evseeva, named "Place layer in/out of group" - https://mohoscripts.com/script/ae_place ... eset-added.
by Stan
Wed Apr 02, 2025 5:52 am
Forum: How Do I...?
Topic: Ungroup object keeping transformation
Replies: 3
Views: 1144

Re: Ungroup object keeping transformation

A while ago I wrote a script that can copy parameters from one layer to others. You can move layers out of the group and then use the script to copy the transformation/rotation/scale from the group to its former sub-layers. You can download the script here: https://mohoscripts.com/script/sz_copy_lay...
by Stan
Mon Mar 10, 2025 12:58 am
Forum: Scripting
Topic: MohoScripting.com - unofficial Moho scripting documentation
Replies: 73
Views: 136793

Re: MohoScripting.com - unofficial Moho scripting documentation

Thanks D.R.!

Another update – MohoScripts now features download history charts! Script authors and users can track how many times a script has been downloaded over the past 30 days and 36 months.

As always, your feedback is highly appreciated!
by Stan
Tue Mar 04, 2025 9:16 pm
Forum: Scripting
Topic: MohoScripting.com - unofficial Moho scripting documentation
Replies: 73
Views: 136793

Re: MohoScripting.com - unofficial Moho scripting documentation

Another update! After a discussion with Eugene and Alexandra, the MohoscriptS search has been improved. The algorithm no longer searches within the script code and now properly handles search strings with spaces. In other words, if you search for something like " line width ", the results ...
by Stan
Mon Feb 17, 2025 8:11 pm
Forum: Scripting
Topic: MohoScripting.com - unofficial Moho scripting documentation
Replies: 73
Views: 136793

Re: MohoScripting.com - unofficial Moho scripting documentation

Thank you, Greenlaw! At the moment, we can 'Select' a code block, but it would be handy to be able to 'Copy' instead/also. That's a relatively easy feature, so it is done now. You may need to Shift+Refresh the page to renew the browser's cache. And, ladies and gentlemen, please welcome Sam (SimplSam...
by Stan
Sun Feb 16, 2025 8:08 pm
Forum: Scripting
Topic: MohoScripting.com - unofficial Moho scripting documentation
Replies: 73
Views: 136793

Re: MohoScripting.com - unofficial Moho scripting documentation

Hello everyone, just a quick update from my side. As you might have noticed already, now on MohoScripting when you view a method's page, and if that method is found in some of the published scripts, you can see the code directly from there, with the method's usage nicely highlighted. Another new fea...
by Stan
Sun Jan 26, 2025 8:59 pm
Forum: Scripting
Topic: MohoScripting.com - unofficial Moho scripting documentation
Replies: 73
Views: 136793

Re: MohoScripting.com - unofficial Moho scripting documentation

hayasidist wrote: Sun Jan 26, 2025 5:18 pm bug to swat please: the link to channel codes from

https://mohoscripting.com/methods/animc ... hanneltype

gives a 404 (it still has the link to https://www.mohoscripting.com/index.php ... nnel_types)
Fixed. Thank you Paul!
by Stan
Tue Jan 21, 2025 7:27 pm
Forum: Scripting
Topic: MohoScripting.com - unofficial Moho scripting documentation
Replies: 73
Views: 136793

Re: MohoScripting.com - unofficial Moho scripting documentation

I can certainly change any label to anything. Sorting and filtering by multiple criteria is not currently supported. It may be supported in the future, however, I cannot make any promises. For channel codes I can easily create a list for any Moho version, but I only have 13.5.3 and 14.3 installed on...
by Stan
Tue Jan 21, 2025 3:07 pm
Forum: Scripting
Topic: MohoScripting.com - unofficial Moho scripting documentation
Replies: 73
Views: 136793

Re: MohoScripting.com - unofficial Moho scripting documentation

I agree, Sam. It's a known thing to me that I'm a technical person and many of the things I create may seem a bit too technical. I'm really open to all kinds of ideas and suggestions, so if anyone can create at least a rough sketch of what it should look like, I'll be happy to implement that.
by Stan
Tue Jan 21, 2025 1:54 am
Forum: Scripting
Topic: MohoScripting.com - unofficial Moho scripting documentation
Replies: 73
Views: 136793

Re: MohoScripting.com - unofficial Moho scripting documentation

Hi all, Please welcome the new updated version of mohoscripts.com and mohoscripting.com! They may still look similar to what they were before, however, the engine was rewritten from scratch and is now using the Trongate PHP framework, which means the code is now much easier to maintain and update. M...
by Stan
Fri Dec 20, 2024 7:26 pm
Forum: Scripting
Topic: Scripting API Changes of Moho 14.3
Replies: 4
Views: 5146

Scripting API Changes of Moho 14.3

Hi all, Below is the list of the Scripting API changes of the version 14.3: Class M_Point New Properties: AnimVal fOpacity real fTempOpacity AnimVal fColorDrift real fTempColorDrift Class M_Style New properties: real fBrushHueDrift real fBrushSatDrift real fBrushValDrift The changes have been added ...
by Stan
Sat Aug 31, 2024 3:23 pm
Forum: Scripting
Topic: Layer Hotkeys - an addition to SZ Layer Selection Buttons
Replies: 1
Views: 5245

Layer Hotkeys - an addition to SZ Layer Selection Buttons

As we previously discussed with some of the forum members, the SZ Layer Selection Buttons now has a bunch of companion button scripts that can serve the purpose of layer hotkeys.



Download here: https://mohoscripts.com/script/sz_layer ... on_buttons