Find menu command ids
find_menu_commandLook up After Effects menu command IDs from exact English menu text using app.findMenuCommandId, returning 0 when no match is found. Read-only.
Instructions
Look up After Effects menu command ids by exact English menu text (app.findMenuCommandId), e.g. 'Deselect All' -> 2004. Returns id 0 when not found. Note: 'Undo' resolves to Edit > Purge > Undo, not Edit > Undo (use the undo tool). Read-only.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"names": "<names>"
},
"name": "find_menu_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| names | Yes | Menu item texts exactly as shown in the English UI, e.g. ['Deselect All', 'Select All']. |