the main differences between a script written for version 11, from one written for version 13.5
Moderators: Víctor Paredes, Belgarath, slowtiger
- gilcartunista
- Posts: 55
- Joined: Mon Mar 14, 2016 7:13 pm
- Location: https://www.facebook.com/gil.cartunista
- Contact:
the main differences between a script written for version 11, from one written for version 13.5
Hello! please friends i am wanting to modify a script, and i would like to know what are the main differences between a script written for version 11, from one written for version 13.5. Grateful.
- synthsin75
- Posts: 10266
- Joined: Mon Jan 14, 2008 11:20 pm
- Location: Oklahoma
- Contact:
Re: the main differences between a script written for version 11, from one written for version 13.5
I think the Lua version used in both is the same, so there shouldn't be any significant difference, aside from mew stuff added to Moho.
- Wes
Donations: https://www.paypal.com/paypalme/synthsin75 (Thx, everyone.)
https://www.youtube.com/user/synthsin75
Scripting reference: https://mohoscripting.com/
Donations: https://www.paypal.com/paypalme/synthsin75 (Thx, everyone.)
https://www.youtube.com/user/synthsin75
Scripting reference: https://mohoscripting.com/
- hayasidist
- Posts: 3841
- Joined: Wed Feb 16, 2011 8:12 pm
- Location: Kent, England
Re: the main differences between a script written for version 11, from one written for version 13.5
yeah - as Wes says - I think V11 was LUA 5.2; and we still are on that version (the latest release of LUA is 5.4 - make sure you use the right LUA documentation); and about the few new features added since V11: this link will help you identify them -- if the V11 script you have only touches areas that haven't changed, updating it is straightforward.
From a cosmetic point of view, Moho 12 introduced a script:ColorizeIcon() function - that tells moho whether or not to use the preferences / appearances "highlights" colour on the tool icon.
If you get stuck - just shout!
From a cosmetic point of view, Moho 12 introduced a script:ColorizeIcon() function - that tells moho whether or not to use the preferences / appearances "highlights" colour on the tool icon.
If you get stuck - just shout!
- gilcartunista
- Posts: 55
- Joined: Mon Mar 14, 2016 7:13 pm
- Location: https://www.facebook.com/gil.cartunista
- Contact:
Re: the main differences between a script written for version 11, from one written for version 13.5
Thank you very much for the valuable tips; you are my heroes. Grateful.