Example Macros
This topic has some example macros. They are meant as inspiration for other macros. In addition, they show some of the possibilities with macros.
Calling Macros by Macros
Section titled âCalling Macros by MacrosâThis example shows how macros triggered by other macros can have different results.
- Create two Macros as shown below:
Macro 1
| Lock | No | Name | Command | Wait | Enabled | AddToCmdl | Execute |
|---|---|---|---|---|---|---|---|
| Â | 1 | MacroLine 1 | Macro 2; Echo âMacro 1 Line 1 - Trigger Macro 2â | Follow | Yes | No | Yes |
| Â | 2 | MacroLine 2 | Echo âMacro 1 Line 2â | Follow | Yes | No | Yes |
| Â | 3 | MacroLine 3 | Echo âMacro 1 Line 3â | Follow | Yes | No | Yes |
| Â | 4 | MacroLine 4 | Echo âMacro 1 Line 4â | Follow | Yes | No | Yes |
| Â | 5 | MacroLine 5 | Echo âMacro 1 Line 5 - Lastâ | Follow | Yes | No | Yes |
Macro 2Â
| Lock | No | Name | Command | Wait | Enabled | AddToCmdl | Execute |
|---|---|---|---|---|---|---|---|
| Â | 1 | MacroLine 1 | Echo âMacro 2 Line 1â | Follow | Yes | No | Yes |
| Â | 2 | MacroLine 2 | Echo âMacro 2 Line 2â | Follow | Yes | No | Yes |
| Â | 3 | MacroLine 3 | Echo âMacro 2 Line 3â | Follow | Yes | No | Yes |
| Â | 4 | MacroLine 4 | Echo âMacro 2 Line 4â | Follow | Yes | No | Yes |
| Â | 5 | MacroLine 5 | Echo âMacro 2 Line 5 - Lastâ | Follow | Yes | No | Yes |
- Tap Macro 1. As a result, all lines except line 5 of macro 2 are executed.
- Disable lines 3 and 4 of Macro 1. As a result, Lines 1, 2, and 5 of Macro 1 are executed, and Lines 1 and 2 of Macro 2 are executed.
Macros triggered by other macros in this way will also stop when the first macro stops. In order to overcome this, Call Macro X command should be used.
Change User
Section titled âChange UserâThis macro opens the login window where you can enter a new username and password.
| Lock | No | Name | Command | Wait | Enabled | AddToCmdl | Execute |
|---|---|---|---|---|---|---|---|
| Â | 1 | MacroLine 1 | LogIn | Follow | Yes | No | Yes |
World Is Selection
Section titled âWorld Is SelectionâThis predefined macro will create a temporary world for the selected fixtures.
| Lock | No | Name | Command | Wait | Enable | AddToCmdl | Execute |
|---|---|---|---|---|---|---|---|
| Â | 1 | MacroLine 1 | Delete World 999 /NoConfirmation | Follow | Yes | No | Yes |
| Â | 2 | MacroLine 2 | Store World 999 | Follow | Yes | No | Yes |
| Â | 3 | MacroLine 3 | World 999 | Follow | Yes | No | Yes |
Block Sequence
Section titled âBlock SequenceâThis macro will prompt you for a sequence ID and a cue number to block.
| Lock | No | Name | Command | Wait | Enable | AddToCmdl | Execute |
|---|---|---|---|---|---|---|---|
| Â | 1 | MacroLine 1 | Block Sequence (Sequence #) Cue (Cue #) | Follow | Yes | No | Yes |
![]() | Hint: |
| If no cue number is entered, the entire sequence will be blocked |
