km_get_trigger_xml
Get the XML definition of a trigger in a Keyboard Maestro macro. Specify the macro by name or UID and the trigger index (1-based).
Instructions
Get the XML definition of a specific trigger in a macro. Triggers are 1-indexed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| macroIdentifier | Yes | Macro name or UID | |
| triggerIndex | Yes | Trigger index (1-based) |