km_add_trigger
Add a trigger to a Keyboard Maestro macro by providing the macro identifier and trigger XML.
Instructions
Add a trigger to a macro using XML.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| macroIdentifier | Yes | Macro name or UID | |
| triggerXml | Yes | XML for the trigger (e.g. <dict><key>MacroTriggerType</key><string>TypedString</string><key>TypedString</key><string>foo</string></dict>) |