V5 beta Sep-17-2025 available now
 1-20  …  61-80  81-100  101-104

Previous
Next
 From:  Michael Gibson
11803.101 In reply to 11803.100 
Hi Marco,

re:
> How were they able to create that documentation, even if only partial, if you
> didn’t provide any official documentation?

The primary method used to learn MOI scripting currently is by studying example scripts. Most functions in MOI use scripting to control the UI and logic flow and you can find them in the installation under the "commands" folder.

Also earlier versions of MOI were based off of a Windows scripting mechanism that needed the properties to be listed in a moi.idl file, so that was used as the main reference for creating that existing documentation.

I also will answer specific questions and try to make new examples.


> And how can I consider that user created documentation reliable, even if it is incomplete?

By studying other scripts that use it, testing it yourself and through trial and error.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  mkdm
11803.102 In reply to 11803.101 
Hi Michael, and thanks for your reply :)

re: “I also will answer specific questions and try to make new examples.”

Alright! Thanks for letting me know, that’s definitely something that could be very helpful for me in certain situations.

Reading your last sentence made me smile, and I say that sincerely and in a friendly way: “By studying other scripts that use it, testing it yourself and through trial and error.”

That’s honestly one of the most “zen” answers I’ve ever read, especially considering it comes from one developer to another
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Larry Fahnoe (FAHNOE)
11803.103 In reply to 11803.102 
Hi Marco,

& truly one of the best ways to learn about a particular tool--however I fear those that lean heavily on AI loose out.

Another helpful API resource is the release notes that Michael puts out as there are often many tidbits about the API, particularly those that have been inspired by forum conversations.

--Larry
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  summarity
11803.104 
If you're interested I did map out the entire API surface for MoI 5 over the xmas holidays and created comprehensive type definitions for all. I'm developing a script editor plugin which includes type checking and live execution, here's a quick preview: https://www.youtube.com/watch?v=Ru8p8kA54Mw

More to come. If this is something that interests you, you can reach me via email at turbo@code.tc (I don't want to hijack this thread for this project), would love to learn more about your use cases for scripting MoI.

(Though I wish I wasn't spending 60% of the time on this project fighting the ancient webkit version.)
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All

 

 
 
Show messages:  1-20  …  41-60  61-80  81-100  101-104