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

Illustrator script runs slow when called from menu

Community Beginner ,
Mar 25, 2025 Mar 25, 2025

I have a script that I've placed in Presets\en_GB\Scripts for testing purposes so it appears in the File > Scripts menu.

 

The script in question calls another script as part of the process, when I run the script from File > Scripts it makes Illustartor hang for about 10 mins whilst its running, the script completes what its meant to do all ok.

I run the exact same script but as an action using 'Insert Menu Item', to call the script from the File > Scripts menu, when I do this it runs the same process but in about 30 secs.

I have no idea why this is, what is it about running scripts via the actions panel that makes it so quick. Even though this method works, I really need to get it working from the File > Scripts menu.


TOPICS
Performance , Scripting
84
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 25, 2025 Mar 25, 2025

What happens if you drag the script from your desktop and drop on to a page in illustrator to run?
Is it a .jsx or.js

 

If it works from actions, maybe try actions flyout menu >> button mode or set a key command if you can find an empty one.

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 Beginner ,
Apr 03, 2025 Apr 03, 2025
LATEST

Tried to drag and drop script onto page, but that didn't seem to do anything. We rebuilt the script and we call it from another script which speeds things up alot. So we went with that for now.

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