km_add_calculation
Add a calculation action to a macro, setting a variable to the result of an expression like 'Counter + 1'. Use it to perform math in Keyboard Maestro workflows.
Instructions
Add an action to set a variable to the result of a calculation (e.g., "Counter + 1").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| macroIdentifier | Yes | Macro name or UID | |
| variable | Yes | Variable name to set | |
| expression | Yes | Calculation expression (e.g., "Counter + 1", "Price * Quantity") |