km_create_macro
Creates a new Keyboard Maestro macro by name, with optional action XML and group assignment.
Instructions
Create a new macro with a name. Optionally include action XML to add an initial action.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name for the new macro | |
| actionXml | No | Optional: XML for an action to add (e.g. <dict><key>MacroActionType</key><string>DisplayLargeText</string><key>Text</key><string>Hello</string></dict>) | |
| groupName | No | Optional: name of the group to add the macro to (defaults to Global Macro Group) |