Lua Code for Exporting and Importing Actions

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

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
GPE
Posts: 2
Joined: Thu May 04, 2023 4:39 pm

Lua Code for Exporting and Importing Actions

Post by GPE »

Is there a way to use Lua code to export Actions to specified locations on disc in Moho Pro 13.5? Similarly, is there a Lua command to import actions from specified locations on disc?
I have searched https://mohoscripting.com/ and have been unable to find anything.
User avatar
hayasidist
Posts: 3526
Joined: Wed Feb 16, 2011 8:12 pm
Location: Kent, England

Re: Lua Code for Exporting and Importing Actions

Post by hayasidist »

that's a native Moho service.

Export:
open the Actions window.
choose the action you want to export.
click the "export animation" button ...

Import:
... much the same but use the import button!
GPE
Posts: 2
Joined: Thu May 04, 2023 4:39 pm

Re: Lua Code for Exporting and Importing Actions

Post by GPE »

My hope is to automate these actions for animators through a Lua script. I'm seeking a Lua command that can run the export action and import action functions (providing filepath as argument).
Post Reply