ae_executeCommand
Runs any After Effects menu command by name or numeric ID on the current selection; select target layers first so the action applies to the intended items.
Instructions
After Effects: run ANY menu command by name ("Create Shapes from Vector Layer", "Convert Audio to Keyframes", "Drop Shadow" layer style, "Scene Edit Detection", script/panel names under Window...) or numeric command id. Acts on the current selection — use ae_selectLayers first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layers | No | Layer names or 1-based indexes. | |
| command | Yes | ||
| compositionName | No | Comp name; omit to use the active comp. |