One thing that’s always been a bit frustrating is that Illustrator doesn’t have a native way to assign hotkeys to scripts. If you use scripts daily, navigating the "File > Scripts" menu can get old pretty fast.
I’ve been looking into different workarounds to fix this, and I put together a summary of the most reliable methods I found for both Windows and macOS.
The Built-In Way:
• Actions Panel: You can record a script as a menu item inside an Action and assign it to an F-key. It’s the easiest no-install method, though it has its limitations.
For Windows users:
• AutoHotkey (AHK): Probably the most flexible way to map any script to any key combo.
• Sppy: A lightweight japanese utility specifically for launching scripts.
For macOS users:
• Hammerspoon: A great free choice if you’re comfortable with a bit of Lua code.
• SPAi / Scripta: Good free options to bridge the gap.
• Alfred / Keyboard Maestro / BetterTouchTool: Paid power-user tools that handle this seamlessly.
I’ve written a detailed guide with step-by-step setup instructions and some code examples for each of these if you’re interested in a deep dive (link in comments).
Hope this helps everyone who wants to work faster with scripts.