joshbduncan / AiCommandPalette

Adobe Illustrator Command Palette

Home Page:https://joshbduncan.com/software.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ai Command Palette

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.

"Ai Command Palette"

Why?

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.

Video Demo

Ai Command Palette Demo Video

Features

Menu Commands

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.

"Built-In Menu Commands"

Tools

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.

"Built-In Tools"

Actions

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.

"Actions"

Bookmarks

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.

📝 File bookmarks open right into Illustrator and Folder bookmarks open in your file system.

"Actions"

Scripts

Load any JavaScript files (.js or .jsx) you want quick access to using the Load Scripts... command.

Want to load a bunch of scripts? Multiple selections are allowed using your standard OS multiple selection tools.

"Scripts"

Workflows

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?

🧨 Workflows are a super powerful utility for beginners, pros, and everyone in between. The possibilities are almost limitless!

"Workflow Builder"

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.

Go To Functionality

Without leaving your keyboard, quickly jump to a specific artboard, pop to another open document, or zoom in on a specific names object.

"Go To"

Document Report

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.

"Go To"

Additional Built-In Commands

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

Settings

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.

Hide Commands...

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.

Need to hide a bunch of commands? Multiple selections are allowed using your standard OS multiple selection tools.

Accidentally hide a command you didn't mean to? To reveal any hidden commands, just use the "Reveal Commands..." function of Ai Command Palette.

Reveal Preferences File

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.

⚠️ 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.

Localization

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.

"Localization"

Installation

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).

ℹ️ I like to use the keyboard shortcut Command-Shift-P since it is somewhat mnemonic for "palette".

Known Issues 🤦‍♂️

Keyboard Use

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 naver 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.

Running Actions

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.

Warning ‼️

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.

⚠️ Action Execution: 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.

😬 Also know, 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).

Credits

Localization

Testing

Built-In Menu Commands and Tools

Other

About

Adobe Illustrator Command Palette

https://joshbduncan.com/software.html

License:MIT License


Languages

Language:JavaScript 98.3%Language:Python 1.5%Language:Makefile 0.3%