Reputation: 5085
I have been using .jsx scripts to automate some tasks in Illustrator, but I haven’t figured out how to execute actions from extensions through a script. I would for example like to push from Illustrator to After Effects using the Overlord extension and export a lottie file by using the Bodymovin extension. Is this possible? How would I get the list of possible actions for an extension inside a .jsx script?
Upvotes: 0
Views: 564
Reputation: 14537
As far as I know we have only two options in Illustrator:
app.executeMenuCommand("expandStyle");
More or less full list of menu commands is here: https://github.com/ten-A/AiMenuObject
So, if your extension doesn't work via menus or actions you can't execute it from script.
Sometimes something can be done with external apps like AutoHotkey (Windows) that able to move and click mouse cursor and press keyboard buttons.
Upvotes: 1