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

Trouble Running Actions thru JSX Script in Illustrator

New Here ,
Mar 19, 2025 Mar 19, 2025

Due to a few limitations in JSX, the only way i have been able to get illustrator to automate certain things is by running actions thru my JSX script. But I've noticed i have not been able to run them in the new version of Illustrator. Here is the code I have been using to run the macros, please advise what i need to change to get this working again:

var myActionFile = File("**File Path to my .aia actions**");
app.loadAction(myActionFile);
app.doScript("**Name of action within folder i want to run**", "**Name of action folder here**");
 
This has worked for months now running the same action automatically thru my script but now it doesn't on my update workstation (it still works just fine on my other PC with the older version of Illustrator installed).
 
Thanks for reading
 
-Isaiah
TOPICS
Scripting
238
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 19, 2025 Mar 19, 2025

Hi @Isaiah Baldwin I have recently posted a script that incorporates an action using app.doScript and it worked as I expected in the latest version of Illustrator.

 

Have you double-checked that the .aia file exists at the exact path specified in your script?

- Mark

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 19, 2025 Mar 19, 2025
LATEST

Detailed information on what the condition of inability to execute is will help in the analysis. For example, Illustrator freezes, stops with an error, or is simply ignored.

 

In my case, I have recently had to activate Illustrator exactly (focus on the app) before executing an action. In the past, the Illustrator app would run fine even if it was in the background, but now it sometimes freezes without being able to execute.

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