As an example, trigger an Illustrator script using a keyboard shortcut. Credit to Joonas.
-
Open Automator
-
Create a new Service
-
At the top
Service receives [no input] in [Adobe Illustrator]If you specify
[any application], you can launch the script when any window is active -
Add action
Get Specified Finder Items -
Add the file/script
-
Add action
Open Finder Items -
Open with
[Adobe Illustrator] -
Save service
Make sure you remember the name for this next step
-
Go to MacOS System Preferences > Keyboard > Shortcuts > Services > General
-
Add a shortcut for it, ex:
alt + cmd + §