Initialize ScriptingInterface in a script or stable method to retrieve a ScriptingInterface instance (moho object)

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

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
mminsel
Posts: 9
Joined: Fri Oct 25, 2019 10:38 am

Initialize ScriptingInterface in a script or stable method to retrieve a ScriptingInterface instance (moho object)

Post by mminsel »

Hi,

Does anyone know, if there is a way to manually initialize the ScriptingInterface? It seems, that if I use a SimpleDialog in combination with the HandleMessage dialog, the moho-object, that is passed to the Run method gets deleted.

Alternatively I could use the scripts-HandleMessage method, but I couldn't get this to work, as it is not called, when a button is clicked.
Post Reply