How can I quickly run a third party script, like with a Scripts panel, Keyboard Shortcut, or Action?
I have a third party script installed that precisely measures color contrast. Currently to run it, I have to move my mouse up to File, click it, move it down to Scripts, click it, move it over to the script I want, and click it.
That isn't necessarily bad, but right now I'm working on developing a master color palette for my work that meets WCAG 2.0 guidelines for user-friendly readability and color contrast. That means to get the exact contrast between every combination of 8 colors (white, black, and 6 monochromatic shades), I have to run the script around 64 times. Plus a bajillion more once I start incorporating more than just 6 shades of one color.
File > Scripts > The One I Want, therefore, quickly becomes tedious.
I'd love to have something like one of the following I can use instead to quickly run the script:
- A Scripts panel.
- Custom keyboard shortcuts. In the Edit > Keyboard Shortcuts window, I'd love to navigate through Menu Commands > File > Scripts > The One I Want. Currently, this window only lists "Other Script" there, not the third party scripts themselves, even though I can already find them there manually via File > Scripts.
- A custom Action in the Actions Panel. Actions can be assigned to Fn keyboard shortcuts, like F11 or Alt + F4. I've figured out how to make simple actions to let me use F2 and F3 to flip objects vertically and horizontally (respectively*), but I don't know how to get a custom Action to call an installed Script. I prefer normal keyboard shortcuts to the Fn keys, but this would be better than what I currently have to do.
Anyone got any ideas of where I could find solutions like these?
The script in question is already saved in the proper file to make it readily available whenever I open Illustrator (Windows C:/Program Files/Adobe/Adobe Illustrator 2025/Presets/en_US/Scripts). Here's more info on it.
Contrast Checker, by Sergey Osokin
YouTube: Check and improve color contrast in Adobe Illustrator using the script
GitHub: illustrator-scripts/md/Color.md at master · creold/illustrator-scripts · GitHub
Sergey's Website: ContrastChecker - {AISCRIPTS}
*I was surprised to discover that even though we can do this on the Properties panel with an object selected, there's not actually an option to do it in the Object > Transform menu or in the Transform panel main GUI (although they're in that panel's dropdown menu). The only way I could find to make a keyboard shortcut for flipping vertically and horizontally was to make a custom Action for it (via Reflect at either 0 or 90 degree angles, no copy).
