Skip to main content
Participant
March 25, 2025
Question

Illustrator script runs slow when called from menu

  • March 25, 2025
  • 1 reply
  • 231 views

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.


1 reply

Mike_Gondek10189183
Community Expert
Community Expert
March 26, 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.

Participant
April 3, 2025

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.