km_set_trigger_xml
Replace the XML of a specific macro trigger using the macro identifier, trigger index, and new XML. Applies the updated trigger configuration directly.
Instructions
Set/replace the XML of a specific trigger in a macro. Use km_get_trigger_xml first to understand the format.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| xml | Yes | New XML for the trigger | |
| triggerIndex | Yes | Trigger index (1-based) | |
| macroIdentifier | Yes | Macro name or UID |