A profile can contain one or more macros. A macro consists of one or more script commands and one or more triggers. When the macro is triggered, the macro will run and each script command will be executed. You can run multiple macro’s simultaneously and even have a macro call other macros. This allows you to create simple or complex game automation.
In the example above, you may want the ‘Fire’ macro to run when you speak the voice command ‘fire’. This would execute one or more script commands that would send keystrokes, joystick button press, or mouse button presses to the game to cause the ship to fire it’s weapons.
Concurrent Macro Execution
If you put an exclamation mark ‘!’ at the end of a macro name, it means that only one instance of this macro can run concurrently. This is useful if you accidentally spam a trigger that launches a macro so that you wind up with the same macro running in separate threads, giving odd results. Prevent this problem by using a !. You can see the difference in the two macro names below:
You can manage your macros by either right-clicking in the macro list, or by clicking on the Macro menu.
- New – Creates a new macro with no triggers or script commands.
- Rename – Renames the currently selected macro.
- Delete – Removes the currently selected macro. All triggers and script commands will also be deleted. You cannot undo a delete.
- Run – This simulates a triggering of the macro and causes the script commands to be executed.
- Duplicate – Makes a copy of the selected macro and it’s associated triggers and scripts.
- Toggle Enable/Disable – Use this to enable or disable the macro. That means that a trigger won’t run the macro. The Run button will still run it though.
- Stop all running macros – Stops all macros that may still be running. You can see which macros are running in the Log tab.