adds an action to a macro.
insmacroact <macro> <type> ...
the command's arguments vary depending on the action type. these are documented below.
this is a key action.
value can be:
- 1: press
- 0: release
insmacroact <macro> key <key> <value>
this is a relative event (e.g. a mouse movement) action.
insmacroact <macro> rel <relEvent> <value>
this waits a specific amount of time before executing the next action.
insmacroact <macro> wait <time>
insmacroact macro1 key KEY_A 1
insmacroact macro1 wait 0.25
insmacroact macro1 key KEY_A 0
insmacroact macro1 key KEY_SPACE 1
insmacroact macro1 wait 0.05
insmacroact macro1 key KEY_SPACE 0