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

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

New Here ,
Mar 15, 2014 Mar 15, 2014

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?

TOPICS
Scripting

Views

5.6K

Translate

Translate

Report

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

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

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

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

Votes

Translate

Translate

Report

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

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? 

Votes

Translate

Translate

Report

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

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.

Votes

Translate

Translate

Report

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
Guru ,
Mar 21, 2014 Mar 21, 2014

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

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

Muppet Mark wrote:

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

That sucks.

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

That is unfortunate...Another great loss

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

LATEST

indeed

Votes

Translate

Translate

Report

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