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