Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Is there any way to convert recorded actions into JSX Javascript file?

New Here ,
Mar 15, 2014 Mar 15, 2014

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?

TOPICS
Scripting
6.5K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Community Expert ,
Mar 15, 2014 Mar 15, 2014

as far as I know, no, there's no such thing for Illustrator.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 16, 2014 Mar 16, 2014

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).

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 16, 2014 Mar 16, 2014

Do jsx script developers more commonly invoke saved actions from jsx (how?) or invoke applescript (which can invoke menus) from jsx? 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Mar 19, 2014 Mar 19, 2014

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Mentor ,
Mar 21, 2014 Mar 21, 2014

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...

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Mentor ,
Mar 21, 2014 Mar 21, 2014

Muppet Mark wrote:

Only today X has posted that that he's hanging up his boots here...

That sucks.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 21, 2014 Mar 21, 2014

That is unfortunate...Another great loss

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Mar 22, 2014 Mar 22, 2014
LATEST

indeed

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines