Copy link to clipboard
Copied
I would like to create a shortcut on the keyboard as Ctrl+L to execute a script file on the illustrator how can I do this?
install the script so it's accessible from the File->Scripts Menu, then record an action to run such script and give it a shortcut key.
It'll help if you create a new Set to record your action into. That way you can save your Action. Sometimes Illustrator "forgets" the script after restarting, if that happens you can easily Load the action instead of re recording.
Copy link to clipboard
Copied
install the script so it's accessible from the File->Scripts Menu, then record an action to run such script and give it a shortcut key.
It'll help if you create a new Set to record your action into. That way you can save your Action. Sometimes Illustrator "forgets" the script after restarting, if that happens you can easily Load the action instead of re recording.
Copy link to clipboard
Copied
Side note (for future questioners😞
This works only with CC 2018+
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
This does not work in 2024 (28.6) on Mac: script is not recorded in the action. ried by clicking script menu item and choosing "run other script".
Copy link to clipboard
Copied
If you install the script in the Illustrator application folder > Presets > Language folder > Scripts
and during the recording of your action use the Insert Menu Item option from the Actions menu to record the script, it should work.
Copy link to clipboard
Copied
I confirm that this works, thanks! I had no idea you had to use this weird workaround, I expected the action to just record any menu item I was using...
I now have a shortcut to rename the thousands of "copy 1" and "copy 2" objects in my layers panel, that I didn't want appended upon copying in the first place.
Copy link to clipboard
Copied
Good to hear it works now.