Link in Zwischenablage kopieren
Kopiert
While building Ai Command Palette I found a great list of executeMenuCommand() values extracted by Shalako Lee from the 2017 SDK. As you might imagine, some of those commands no longer work, and since I'm about to release v0.2.0 of Ai Command Palette I've been testing them all and keeping track of the results in this Google Sheet.
I'm sharing this here because I figured this might be useful to some of you who write scripts for Illustrator. The sheet includes the Original List of commands from Shalako and a working list of the commands that I'm testing in Ai v26.3.1.
Right now I'm about halfway through the original 506 commands from Shalako's list. So far, I've found about 90 that no longer work. I've also updated any verbiage that may have changed in the menu system (since 2017) and updated the ordering to match Ai v26.3.1.
I also, made a simple script to test the commands below if you want to test any yourself. I'm trying to test each command in context to ensure they are working correctly.
Let me know if you have any other that I may have missed... Cheers!
P.S. There is another list on this forum (posted in 2014) that I have yet to review but I am aware of it and plan to compare it with Shalako's.
var result = prompt("Enter Command To Test", "", "Test Built-In Commands");
try {
app.executeMenuCommand(result);
} catch (e) {
alert("Error executing command:\n" + result + "\n\n" + e);
}
4 richtige Antworten
You may be interested in this
I've found Ten A's list to be the most complete:
https://ten-artai.com/illustrator-ccver-22-menu-commands-list
I also maintain a menuCommandString database, so I will introduce it. It is Illustrator 2022 (26.4.1) equivalent and is made of Notion. There are currently 530 commands in this database.
Illustrator Reference/ExtendScript/app.executeMenuCommand | Notion
There is my list for app.executeMenuCommand('command'),
with some plugins and parm error:
https://www.dropbox.com/scl/fi/6pnep3u3rx56ceib8n9gy/menu.yaml?rlkey=swltif2qt1w2xw9g3g2yvoap9&dl=0
And app.selectTool('command'):
https://www.dropbox.com/scl/fi/untnv4j1w0xaxiwxc8du6/tool.yaml?rlkey=uq5nvaf479i31lqnrj36t8d51&dl=0
Found new commands in Illustrator v29.0.
menu |
key |
note |
Object > Objects on Path > Attach |
Attach Objects on Path |
Added from v29.0 |
Object > Objects on Path > Options |
Options Objects on Path |
Added from v29.0 |
Object > Objects on Path > Expand |
Expand Objects on Path |
Added from v29.0 |
Window > Type > Reflow Viewer |
ReflowWindowMenu |
Added from v29.0. East asian feature |
And a tool.
tool |
key |
note |
Objects on Path |
Adobe Constraints Tool |
Added from |
Entdecken Sie verwandte Tutorials und Artikel
Link in Zwischenablage kopieren
Kopiert
Awesome! Thanks for sharing this.
Link in Zwischenablage kopieren
Kopiert
You may be interested in this
I've found Ten A's list to be the most complete:
https://ten-artai.com/illustrator-ccver-22-menu-commands-list
Link in Zwischenablage kopieren
Kopiert
Holy smokes this looks great! I'll get new ones I don't already have added to the sheet and added to Ai Command Palette. Thanks!
Link in Zwischenablage kopieren
Kopiert
@femkeblanco good news is mine matched up almost perfectly with Ten A's except for the following commands that I had removed because they do not work. Thanks again for the tip!
Non-Working Commands
- Define Pattern Menu Item
- TracingPresets
- SWFPresets
- FileClipboardPref
- Adobe internal composite font plugin
- Adobe Kinsoku Settings (may not be working on my machine because of language issues)
- Adobe MojiKumi Settings (may not be working on my machine because of language issues)
- Selection Hat 12
- Dynamic Text
- Input Text
- Live PSAdapter_plugin_Ct
- Live PSAdapter_plugin_Spt
- Live PSAdapter_plugin_Gls
- Live PSAdapter_plugin_Grn
- Adobe Save Workspace
- AdobeBuiltInToolbox1
- Adobe Illustrator Kuler Panel
- about (since it's being run from a script the About screen only flashes for a split second)
- Adobe Color Palette Secondary (just a copy of Adobe Color Palette)
- AdobeNavigator2
- AdobeNavigator2
Link in Zwischenablage kopieren
Kopiert
Fantastic! Thank you.
I continue to be amazed by Adobe's lazyness in providing such references.
In case you are curious - this is all I wanted to automate - then this script be called from more complicated scripts ....
app.executeMenuCommand("Horizontal Align Center");
ChatGPT & Gemini failed miserably.
CoPilot was on the right track but the align commands were wrong.
Your forum comment saved my sanity. Thx again.
Link in Zwischenablage kopieren
Kopiert
I also maintain a menuCommandString database, so I will introduce it. It is Illustrator 2022 (26.4.1) equivalent and is made of Notion. There are currently 530 commands in this database.
Illustrator Reference/ExtendScript/app.executeMenuCommand | Notion
Link in Zwischenablage kopieren
Kopiert
This is great! Seems you have about 75 that I haven't found anywhere else. I'll go through them all and get them added. Thanks so much!
Link in Zwischenablage kopieren
Kopiert
Remarks:
- Includes both old and new menu items that have been renamed. There are duplicates
- The last part of the Photoshop effect is 4 characters long. If it is short, fill in the spaces (e.g. 'Live PSAdapter_plugin_Ct ')
- There was confusion in the specification with both the properties panel and version history being the empty string ''. It seems that they changed to 'Adobe Property Palette' and 'Adobe Version History File Menu Item' at some point
Link in Zwischenablage kopieren
Kopiert
@sttk3, your list of command strings is great! I tested all 500+ on my Mac in Ai v26.3.1 and only found 11 that didn't work for me. I've listed them below. I've updated my spreadsheet with any new commands you had that I didn't. Thanks again for sharing!
Edit > SWF Presets | SWFPresets |
Illustrator > Preferences > File Handling & Clipboard | FileClipboardPref |
Type > Composite Fonts | Adobe internal composite font plugin |
Type > Kinsoku Shori Settings | Adobe Kinsoku Settings |
Type > Mojikumi Settings | Adobe MojiKumi Settings |
Window > Toolbars > Default | Default ToolBar |
Window > Color Themes | Adobe Illustrator Kuler Panel |
Window > Libraries | Adobe CSXS Extension com.adobe.DesignLibraries.angularライブラリ |
Window > Libraries | Adobe CSXS Extension com.adobe.DesignLibraries.angularCC ライブラリ |
Window > History | Adobe HistoryPanel Menu Item |
Window > Learn | Adobe Learn Panel Menu Item |
Link in Zwischenablage kopieren
Kopiert
Thanks @jduncan, I noticed some changes thanks to your confirmation. I’m actually tracking the available versions as best I can and will update later.
Illustrator Reference/Raw Database (for internal use)/menuCommandsString | Notion
Edit > SWF Presets | SWFPresets | Removed from v26 |
Illustrator > Preferences > File Handling & Clipboard | FileClipboardPref | Removed from v25 |
Illustrator > Preferences > Clipboard Handling | ClipboardPref | Added from v26 |
Type > Composite Fonts | Adobe internal composite font plugin | Japanese language features |
Type > Kinsoku Shori Settings | Adobe Kinsoku Settings | Japanese language features |
Type > Mojikumi Settings | Adobe MojiKumi Settings | Japanese language features |
Window > Toolbars > Default | Default ToolBar | Removed from v23 |
Window > Color Themes | Adobe Illustrator Kuler Panel | Removed from v26 |
Window > Libraries | Adobe CSXS Extension com.adobe.DesignLibraries.angularライブラリ | Removed from v23 |
Window > Libraries | Adobe CSXS Extension com.adobe.DesignLibraries.angularCC ライブラリ | Japanese characters are included. This item means Creative Cloud Library |
Window > History | Adobe HistoryPanel Menu Item | Added from v26.4 |
Window > Learn | Adobe Learn Panel Menu Item | Removed from v26 |
Link in Zwischenablage kopieren
Kopiert
I found that "Preferences > File Handling..." == "FilePref" in v26 if you wanted to add that to your list. Thanks again for your help!
Link in Zwischenablage kopieren
Kopiert
Found a new command.
Type > Bullets and Numbering > Convert to text | convert list style to text | Added from v27.1 |
Link in Zwischenablage kopieren
Kopiert
@sttk3 this is great! I've got it added to my list and it will be in the next release of AiCommandPalette. Thanks for sharing!
Link in Zwischenablage kopieren
Kopiert
Found new commands.
Window > Retype (Beta) | ReTypeWindowMenu | Added from v27.6 |
Edit > Edit Colors > Generative Recolor (Beta) | Generative Recolor Art Dialog | Added from v27.6 |
Link in Zwischenablage kopieren
Kopiert
thanks for sharing!
Link in Zwischenablage kopieren
Kopiert
Awesome! I'm going to add these to AiCommandPalette this week. Thanks so much for keeping everyone up to date!
Link in Zwischenablage kopieren
Kopiert
Found a new command. But this is not a stable key, and the numerical part could change.
Window > Contextual Task Bar |
_GenericPluginMenuItem 25 |
Added from v27.9 |
Link in Zwischenablage kopieren
Kopiert
Awesome, I've got it added but on the ignore list for now. Thanks as always!
Link in Zwischenablage kopieren
Kopiert
Found new commands. I expected the "Contextual Task Bar" to have a formal key added, but there were no changes.
Object > Path > Smooth |
smooth menu item |
Added from v28.0 |
Object > Pattern > Text to Pattern (Beta) |
Text To Pattern |
Added from v28.0 |
Object > Mockup (Beta) > Make |
Make Vector Edge |
Added from v28.0 |
Object > Mockup (Beta) > Release |
Release Vector Edge |
Added from v28.0 |
Object > Mockup (Beta) > Edit |
Edit Vector Edge |
Added from v28.0 |
Window > Mockup (Beta) |
Adobe Vector Edge Panel |
Added from v28.0 |
Window > Text to Vector Graphic (Beta) |
Generate |
Added from v28.0 |
Link in Zwischenablage kopieren
Kopiert
awesome!! thanks @sttk3
Link in Zwischenablage kopieren
Kopiert
Awesome work as always! I'll get these added to my list and projects. Thanks @sttk3 !
Link in Zwischenablage kopieren
Kopiert
Found new commands.
menu |
key |
note |
Edit > Preferences > Touch Workspace |
TouchPref |
Windows touch devices only |
Select > Update Selection |
Selection Hat 14 |
Added from v28.0 |
And a tool.
Illustrator Reference/ExtendScript/app.selectTool | Notion
tool |
key |
note |
Dimension Tool |
Adobe Dimension Tool |
Added from v28.1 |
Link in Zwischenablage kopieren
Kopiert
@sttk3, thanks as always! I've got these added to my Google Sheet and they'll be in the next release of AiCommandPalette. Cheers!
Link in Zwischenablage kopieren
Kopiert
This is amazing - I just have one question - how can I close out of a tool such as as Adobe Edit Pattern from the script?

