Copy link to clipboard
Copied
For photoshop, there's http://ps-scripts.sourceforge.net/xtools.html (scroll down to "ActionFileToJavascript") which can convert recorded photoshop actions into jsx. Is there any such resource for Illustrator?
Copy link to clipboard
Copied
as far as I know, no, there's no such thing for Illustrator.
Copy link to clipboard
Copied
Also, not everything you can do in an Action can be done with a script (a typical solution for that is to run a script that runs the action).
Copy link to clipboard
Copied
Do jsx script developers more commonly invoke saved actions from jsx (how?) or invoke applescript (which can invoke menus) from jsx?
Copy link to clipboard
Copied
I have invoked actions from javascript when I've run into things that you just can't do with javascript. The code for it is fairly simple:
app.doScript("Change Water Color", "MapActions");
The first variable in the function is the name of the action that you are trying to call. The second variable is the action set that the action belongs to. Both are case sensitive.
Copy link to clipboard
Copied
AppleScript is able to script many things in the GUI.
The problem is it becomes version specific when they move stuff about.
CS6 can evoke some menus but is limited to those with keyboard shortcuts.
CS6 also got action calls added... ( to JS )
No nothing like action manager code exists in AI. ( a big shame )
PS has a plug-in to record your steps...
Giving you access to a whole range of app features beyond the regular DOM.
Only today X has posted that that he's hanging up his boots here...
Copy link to clipboard
Copied
Muppet Mark wrote:
Only today X has posted that that he's hanging up his boots here...
That sucks.
Copy link to clipboard
Copied
That is unfortunate...Another great loss
Copy link to clipboard
Copied
indeed