km_set_action_xml
Set or replace the XML of a specific action in a Keyboard Maestro macro using the macro identifier and action index.
Instructions
Set/replace the XML of a specific action in a macro. Use km_get_action_xml first to get the current XML.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| xml | Yes | New XML for the action | |
| actionIndex | Yes | Action index (1-based) | |
| macroIdentifier | Yes | Macro name or UID |