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