Page 1 of 1

Lua Code for Exporting and Importing Actions

Posted: Thu May 04, 2023 7:10 pm
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.

Re: Lua Code for Exporting and Importing Actions

Posted: Thu May 04, 2023 8:12 pm
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!

Re: Lua Code for Exporting and Importing Actions

Posted: Thu May 04, 2023 8:59 pm
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).