Boost your Adobe Illustrator efficiency with quick access to most Menu Commands and Tools, all of your Actions, Bookmarked file or folder, and any Scripts right from your keyboard.
And, with custom Workflows, you can combine multiple commands, actions, and scripts to get things done in your own way. Replace repetitive tasks with workflows and boost your productivity.
If you have worked with Alfred app or VS Code you know how great the “command palette” is… Well, I wanted that same functionality in Adobe Illustrator.
With nearly 500 Menu Commands available to Ai Command Palette (view all here), there isn't much you can't access. I have tested all of them on Adobe Illustrator v26.4.1.
Quickly access over almost 80 of Ai's built-in Tools (view all here) right from your keyboard without having to remember so many keyboard shortcuts.
Access all of your saved Actions using Ai Command Palette. Actions are listed "Action: Action Name [Action Set]" to make searching/accessing easy. If you create a new action you will have to quit Illustrator and reopen before it will become available in Ai Command Palette.
Find yourself opening the same file inside of Illustrator multiple times a day? Or need to easily access a folder full of project assets? Bookmarks have you covered.
Note
File bookmarks open right into Illustrator and Folder bookmarks open in your file system.
Have any Illustrator plugins or add-ons essential to your workflow? If they offer menu and tool activation via ExtendScript, you can add them as custom commands to access them even faster.
For example, I use (and love ❤️) Astute Graphics PlugIns, so I have a bunch of them added to my palette as custom commands.
Add your own with the Add Custom Commands
command. Custom Commands are input in a CSV like format Command Name,Command Action,Command Type
.
Tip
I'm keeping a list of known external plugin commands here for reference. If you know of more, please do a pull request to add them for others to enjoy.
To discover the Command Action
id for your own menu/tool commands, follow the directions below (source krasnovpro on Adobe Forums):
- Go to Edit → Keyboard Shortcuts
- Bind your tool to the 0 (zero key)
- Save keyboard shortcut set
- Open saved keyboard shortcuts file
- Find any occurrences of /Key 48 (like below)
- Remove the leading slash and all backslashes, and you get the command name
/Snap\ To\ Collisions\ Tool {
/Context 0
/Modifiers 0
/Represent 48
/Key 48
}
Astute Graphics - Arc by Points,Arc by Points Tool,tool
Astute Graphics - Block Shadow,AG Block Shadow Tool,tool
Astute Graphics - Circle by Points,Circle by Points Tool,tool
Astute Graphics - Color Select,AG Color Select Tool,tool
In need of a custom command palette picker for something you do on a regular basis, or want to enhance a script you already use with a the ability to pick from a set of options? Use the Build Picker...
command to create your very own searchable command palette. These are also great for use in workflows.
The selected item will be saved to the environment variable aic_picker_last
and can be accessed via a script using $.getenv("aic_picker_last")
.
Custom Pickers also allow for multiple selections. When enabled, the selected items are saved as an array so to access them make sure to use the eval() method like below.
Tip
Any custom pickers inside of workflows can be edited inside of the workflow editor by double-clicking the picker workflow step, or by clicking the workflow steps edit button.
// anotherScript.jsx
var colorFormats = eval($.getenv("aic_picker_last"));
alert("Picked Color Formats\n" + colorFormats.join("\n"));
Load any JavaScript files (.js or .jsx) you want quick access to using the Load Scripts...
command.
Tip
Want to load a bunch of scripts? Multiple selections are allowed using your standard OS multiple selection tools or you can watch entire script folders via Watched Script Folders.
If you work with a large number of scripts (or develop your own) it can be more efficient to watch entire folders rather than loading scripts individually. Each time the Command Palette is launched, all script files within your watched folders are automatically indexed and made available to run directly from the palette.
Build fully automated automation workflows using Menu Commands, Tools, Actions, Scripts, or even other Workflows 🤯!
Do You...
- need to combine multiple scripts into one action?
- need to add functionality to a script but don't know how or have the time?
- need to perform an exact set of actions regularly and want to automate that?
- need to quickly prototype the execution steps of a potential script?
Tip
Workflows are a super powerful utility for beginners, pros, and everyone in between. The possibilities are almost limitless!
The simple workflow above takes your current selection of objects, blends them together, opens the blend options dialog so you can make any necessary adjustments, then expands your blend, and saves your file with an action.
Without leaving your keyboard, quickly jump to a specific artboard, pop to another open document, or zoom in on a specific names object.
Illustrators Document Info palette offers lots of great info but it can be a little cumbersome to work with. To quickly get right to the info you need, Ai Command Palette offers a quick Document Report that includes, most of the basic info like fonts, artboards, placed image details, spot colors, etc... You can even save it out for future reference.
Ai Command Palette has access to most of Illustrator's functionality via the menu command system but there are some features only available (or much easier to access) via the API that I have added as I encounter them.
- Redraw Windows
- Reveal Active Document On System
- Export Active Artboard As PNG
- Export Document Variables
Quickly access your previous query history right from the command palette using the up arrow right.
You can access the settings for Ai Command Palette by selecting the "Command Palette Settings..." option (or via search). Most settings are self explanatory but I'll cover a few here to try and makes things clear.
If there are any Actions, built-in Menu Commands, or built-in Tools you don't want to see in Ai Command Palette you can easily hide them. Note, they will not be deleted, just hidden from the search results.
Tip
Need to hide a bunch of commands? Multiple selections are allowed using your standard OS multiple selection tools.
Tip
Accidentally hide a command you didn't mean to? To reveal any hidden commands, just use the "Reveal Commands..." function of Ai Command Palette.
All of your Ai Command Palette settings are saved on your system to a "json-like" preferences file. This includes any Scripts you load, Workflows you create, and Commands you have hidden. This command simply "reveals" your preferences file on your system.
Caution
I would not recommend directly editing the file unless you know exactly what you are going. This function is mostly for making backups or sharing your preferences with others.
With the help of Kurt Gold and Sergey Osokin, Ai Command Palette is currently localized for German and Russian versions of Illustrator. This includes all dialogs, alerts, menu commands, and tools.
If anyone wants to offer localization for other languages you can learn more here.
I recommend installing this action into your scripts folder (how-to), then tying it to a keyboard shortcut using something like Keyboard Maestro (Mac), BetterTouchTool (Mac), or AutoHotkey (Windows).
Tip
I like to use the keyboard shortcut Command-Shift-P since it is somewhat mnemonic for "palette".
Ai Command Palette was created to allow users to stay away from the mouse and do actions and operations via the keyboard. Funnily enough, there is a bug in ExtendScript that will delay/send the Enter
key event after the palette is dismissed using the enter key.
This issue doesn't effect very many actions and you may never notice it, but if you run the About Illusatrator...
command, you'll notice it appears and immediately disappears. This is because ExtendScript essentially "presses" the enter key after showing the about splash screen.
I have tried lots of work-a-rounds to fix this but haven't found a solution yet.
I have noticed that after some time without restarting Illustrator, the arrow keys stop moving up and down between palette options. Not sure of the cause but restarting Illustrator will get everything back operating normally.
There is a known ExtendScript issue when running actions from a script (e.g. Ai Command Palette). Some action steps WILL NOT work properly. I haven't tested all possible action but I know for sure most operations modifying the document selection are definitely broken. Let me know if you find others and I will file/update a bug report with Adobe.
Using Ai Command Palette requires some basic knowledge of Illustrator. The script doesn't know which commands can or can't be run at the time of execution so tread carefully. I've included error checking where possible, so in most cases you should get an explanation when something breaks.
Important
There are some known issues with executing actions via a script. There are no known solutions to this so if you encounter errors with a particular Action, it just may not be suitable to execute via Ai Command Palette.
🐞 If you find a bug please file an issue.
Tip
Most every action this script executes can be undone by choosing Edit > Undo (from the Edit menu at the top of your screen), or by pressing Command-Z (Mac) or Control+Z (Windows).
- Kurt Gold for his work localizing the German.
- Sergey Osokin for his work localizing the Russian version.
- Peter Kahrel for the amazing book ScriptUI for Dummies.
- Sergey Osokin
- For his clever
openURL()
function - For his help fixing the Windows OS bug · Issue #8
- For his clever
- sttk3 for the awesome bit of code that extracts current actions.