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
Lukas
Posts: 1336
Joined: Fri Apr 09, 2010 9:00 am
Location: Netherlands
Contact:

Re: MohoScripting.com - unofficial Moho scripting documentation

Post by Lukas »

Much appreciated!
User avatar
Rai López
Posts: 2289
Joined: Sun Aug 08, 2004 1:41 pm
Location: Spain
Contact:

Re: MohoScripting.com - unofficial Moho scripting documentation

Post by Rai López »

Hi Stan, just a question: Is there a preferred way to inform about possible mistakes or typos in the web? I looked up for a way to do it there but I didn't find anything...

Anyway, I found, for example, that for LM_Matrix:Rotate(axis, angle) and LM_Vector3:Rotate(axis, angle) the description of the first argument (axis) contains unexpected text from below and the link to the axis CONSTANTS is missing. In this case the hint "int32" makes clear what it could require but, if possible, it'd be nice if this little things could be easily informed and corrected, specially with beginners in mind.

If this is the preferred way indeed, well there it is... Well, thanks to you and all the contributors for maintaining such a useful resource!
...
Stan
Posts: 217
Joined: Sun Apr 19, 2009 3:22 pm

Re: MohoScripting.com - unofficial Moho scripting documentation

Post by Stan »

Thank you for your kind words, Ramón! I fixed those two methods you mentioned.
Well, yes, this forum is probably the easiest way to let us know about any typos or improvements. BTW, if you'd like to participate as a site admin, I can give you the access. I'm pretty sure that Paul, Wes, and Alexandra wouldn't have any objections!
________________________________________________________________________
https://mohoscripting.com/ - Unofficial Moho Lua scripting documentation
https://mohoscripts.com/ - The best place to publish and download scripts for Moho
User avatar
Rai López
Posts: 2289
Joined: Sun Aug 08, 2004 1:41 pm
Location: Spain
Contact:

Re: MohoScripting.com - unofficial Moho scripting documentation

Post by Rai López »

That was quick, thank you! About the offer, I feel grateful, although I don't know how useful I could be at this point there since I take up scripting from time to time and I'm really starting to try to get familiar with it again after all these years, but at a very slow pace... But I take your word if finally turns out I end up taking it seriously enough again and I see I can somehow contribute there. Well, thanks again :)
...
User avatar
synthsin75
Posts: 10253
Joined: Mon Jan 14, 2008 11:20 pm
Location: Oklahoma
Contact:

Re: MohoScripting.com - unofficial Moho scripting documentation

Post by synthsin75 »

Yeah, Ramon would be a worthy addition.

And don't worry Ramon, some of us only occasionally make improvements to the info, as we happen across it while scripting...which can be sporadic amid day jobs.
User avatar
hayasidist
Posts: 3829
Joined: Wed Feb 16, 2011 8:12 pm
Location: Kent, England

Re: MohoScripting.com - unofficial Moho scripting documentation

Post by hayasidist »

Ramón López wrote: Wed Feb 09, 2022 3:43 am ... I don't know how useful I could be at this point ...
IMO, the base info that's there, which is meticulously maintained for each new Moho release by Stan, is pretty good. Usually, I only _add_ clarifications where (e.g.) I've tried something that "should have" worked but discovered a "wrinkle" that merits further explanation / elaboration. And I can't really recall the last time I did that. So yeah! As a "veteran" scripter, you'd be welcome as far as I'm concerned.
User avatar
Rai López
Posts: 2289
Joined: Sun Aug 08, 2004 1:41 pm
Location: Spain
Contact:

Re: MohoScripting.com - unofficial Moho scripting documentation

Post by Rai López »

Well I feel triple grateful now :oops:, thank you guys for the kind words too! You made me think that at first I could help at least making the above kind of little corrections one may find and, hopefully, I'll be able to contribute more with time if I really get stick with scripting this time, as I'd like (but, yeah, several attempts already...)

BTW, if that helps, I already registered in the page with the username "Ramon0" looking for a way of reporting things indeed, but if you finally decide to add me, I remain at your disposal for whatever else that may be necessary, of course!
...
Stan
Posts: 217
Joined: Sun Apr 19, 2009 3:22 pm

Re: MohoScripting.com - unofficial Moho scripting documentation

Post by Stan »

Welcome aboard, Ramón!
________________________________________________________________________
https://mohoscripting.com/ - Unofficial Moho Lua scripting documentation
https://mohoscripts.com/ - The best place to publish and download scripts for Moho
User avatar
Rai López
Posts: 2289
Joined: Sun Aug 08, 2004 1:41 pm
Location: Spain
Contact:

Re: MohoScripting.com - unofficial Moho scripting documentation

Post by Rai López »

That was also quick, thank you! I can see the Edit button and all :D. I don't know what exactly the "Uploads" is used for (well, I imagine for attaching/inserting resources to pages), but I don't think it's something I'm going to need to use for now anyway... Well, thanks again! And, as said, I hope I can somehow contribute to improve such an already awesome resource.

P.S. BTW, for little corrections and typos I assume no discussions are necessary, but if there were a more important change or something about one is not 100% sure... is it here (or by PM, depending on relevance) the preferred way to do it? Again, I don't think that's something I'll have to worry about for now, but maybe good to know in case at some point it comes up...
...
Stan
Posts: 217
Joined: Sun Apr 19, 2009 3:22 pm

Re: MohoScripting.com - unofficial Moho scripting documentation

Post by Stan »

Yeah, we all are registered users here, so we can use this forum's PM system for discussions. Or we can create something like a Telegram channel, if you prefer.

BTW, the mohoscripting.com credentials are also mohoscripts.com credentials, so you can participate there as well.
________________________________________________________________________
https://mohoscripting.com/ - Unofficial Moho Lua scripting documentation
https://mohoscripts.com/ - The best place to publish and download scripts for Moho
User avatar
Rai López
Posts: 2289
Joined: Sun Aug 08, 2004 1:41 pm
Location: Spain
Contact:

Re: MohoScripting.com - unofficial Moho scripting documentation

Post by Rai López »

Stan wrote: Wed Feb 09, 2022 4:13 pm Or we can create something like a Telegram channel, if you prefer.
No, I'm totally fine with how things are as long as you all are and it works, don't worry!
Stan wrote: Wed Feb 09, 2022 4:13 pm BTW, the mohoscripting.com credentials are also mohoscripts.com credentials, so you can participate there as well.
Oh, I didn't know about that! I mean, I knew they were somehow "connected" each other, but I didn't think up to that point. What a great job done there too... Well thank you as well, I hope I can create something enough interesting to be uploaded there at some point :)
...
Stan
Posts: 217
Joined: Sun Apr 19, 2009 3:22 pm

Re: MohoScripting.com - unofficial Moho scripting documentation

Post by Stan »

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.

Most of the changes are internal, but some of the new features you may find really useful:

MohoScripts:
- Scripts can now have multiple editions, so it is possible to issue a new version of a script under the same name without removing the older one.
- Scripts can belong to multiple categories (i.e. Bones and Layers)
- Scripts can have multiple co-authors
- Extended the options of how the scripts can be linked to each other (required/optional, one-sidedly or mutually)
- More sophisticated downloads count
- All types of listings were moved to a separate web page

MohoScripting:
- Channel Codes are now stored in the db as a dedicated table instead of a text block, and we have an ability to view the list for different Moho versions

Both sites:
- Most parts of both websites are now mobile-friendly
- Users can switch the color theme and change their time zone
- The functionality of the user login/logout/password reset has been significantly improved, the session time is extended

Some of the features are not available yet, but will be soon, please be patient.

Huge thanks to Eugene (KuzKuz) for helping with the design and testing!

Any help identifying bugs is highly appreciated.

-Stan
________________________________________________________________________
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: 10253
Joined: Mon Jan 14, 2008 11:20 pm
Location: Oklahoma
Contact:

Re: MohoScripting.com - unofficial Moho scripting documentation

Post by synthsin75 »

Sounds great.

Thank you Stan and Eugene for continuing to maintain this invaluable resource.
User avatar
SimplSam
Posts: 1218
Joined: Thu Mar 13, 2014 5:09 pm
Location: London, UK
Contact:

Re: MohoScripting.com - unofficial Moho scripting documentation

Post by SimplSam »

Wow. Some huge improvements.

One thing of note with regard to the mohoscripts UI. I feel there might be too much 'spec' info at the start of the add-on page. I feel users might want the detail of the add-on, rather than all the 'version' info etc. Of course, 'spec & version' info is still relevant, but maybe can be split somehow into header/footer, or lo-lighted.
Moho 14.3 » Win 11 Pro 64GB » NVIDIA GTX 1080ti 11GB
Moho 14.3 » Mac mini 2012 8GB » macOS 10.15 Catalina
Tube: SimplSam


Sam
Stan
Posts: 217
Joined: Sun Apr 19, 2009 3:22 pm

Re: MohoScripting.com - unofficial Moho scripting documentation

Post by Stan »

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.
________________________________________________________________________
https://mohoscripting.com/ - Unofficial Moho Lua scripting documentation
https://mohoscripts.com/ - The best place to publish and download scripts for Moho
Post Reply