- Add this to notepad document:
^!.::Run, Illustrator.exe C:\Users\Joonas\Dropbox\My script.jsx
- Replace the path with your own.
- The
^!.
equals to Ctrl+Alt+.
List of modifier key symbols.
- Save that with an extension
.ahk
- You can now that file. You should see it running in the
System tray
.
- You can close it from the
System tray
via context menu.
- If you want the hotkey to always be accessible (and not just when you remember to open the .ahk file), just put the file in the windows startup folder.
#IfWinActive, ahk_class illustrator
^!.::Run, Illustrator.exe C:\Users\joonas\Desktop\test.jsx
- Save that with an extension
.ahk
- You can open that file in the default app (ahk).
- You should see it running in the
System tray
under a green H icon ( ).
- You can close it from the
System tray
via context menu.
- If you want the hotkey to always be accessible (and not just when you remember to open the .ahk file), just put the file in the windows startup folder.
- Remove the first line of the code, if you want to be able to trigger the script from any application.
Note that if you don't plan your hotkeys carefully, this can block other applicationshotkeys from using that hotkey combination.
And no. I don't knowIllustrator or other applications, if you decide to get rid of a better way for windowsthat first line.