Skip to content

Example macros

Here you can find some examples of macros.

Most can be found in the predefined macros. Read the Import predefined objects topic for information about importing them.

This short macro will simply put 5% more on the dimmer value on the selected fixtures.

No.:CMD:Info:
1At + 5 

 

This macro will turn off the Exec CLI setting in the Local settings in Setup.

No.:CMD:Info:
1Assign Root .”Settings”.”Local” /ExecCLI=off 

It assigns a new value for the “ExecCLI” option in the local settings. The local settings are addressed using the names of the settings and the “local” part of the settings.

 

This macro can be used to turn on or off (toggle) the Executor Time fader (the one shown on screen 2 lower right corner).

No.:CMD:Info:
1Toggle SpecialMaster “grandmaster”.“exec time”Toggles the “Set Time” function on the Executor Time fader.

It sends a command to a special master in the “grandmaster” group. The special master is called “exec time” (Executor Time).

 

You can use this macro if you need to replace a fixture with a different one in a specific sequence.

No.:CMD:Info:
1Replace Fixture (old Fixture?) With Fixture (New Fixture?) If Sequence (Sequence number?) 

This macro uses three pop-ups asking for the old and new fixture numbers and the sequence number. The pop-ups a re displayed when the macro reaches the parentheses. The title bar of the pop-up displays the text written inside the parentheses.

 

This macro is used to fade into a preset in 2 seconds. The idea is that you tap the macro and then the preset (in a preset pool) you want to fade to.

No.:CMD:Info:
1On SpecialMaster “grandmaster”.“program time”Turn on the Program Time fader
2SpecialMaster “grandmaster”.“program time” At 2Sets the Program time to 2 seconds
3At Preset @Selects a preset - waiting for the user to select a preset
4Off SpecialMaster “grandmaster”.“program time”Turn off the Program Time fader

The first two lines turn on the Program Time fader and sets the fade time to 2 seconds. The third line will put the “At Preset” part in the command line and then wait for you to tap the preset. The last line turns off the Program Time fader.

 

This multi line macro is an example of the commands you could use to setup your console ready for a show start.

No.:CMD:Info:
1ChangeDest “settings”Enters the settings
2Assign “Global” /Telnet= “Login Disabled”Turns off telnet connections
3Assign “Global” /Remotes= “Login Disabled”Disables remote access
4Assign “Global” /Agenda= “stopped”Turns off any agendas
5ChangeDest /Exits the settings
6Highlight Off 
7Solo Off 
8Blind Off 
9BlindEdit Off 
10PreviewEdit Off 
11Off Executor 0.1.1 ThruTurns off all the executors
12World 1Goes into the full world
13ClearAllClears the programmer
14ResetDmxSelectionThis clears the selection in the DMX tester
15Off DmxUniverse ThruThis clears the values in the DMX tester
16SpecialMaster “grandmaster”.”Grand” At 100Sets the grand master to 100%

This is a macro that can be used as the foundation for a start show macro. You might want to add your own line after line 16. Your own lines would typically turn on the relevant executors and make sure they are turned up and in the right cue.

 

This is not a predefined macro.

This macro will allow you to save your show with an enumerate number each time you run the macro.

The first time it runs it will save the show with number 1 and then it will enumerate from there.

You need to edit the macro and change the “base” name of the show file (line number 4).

The macro needs to be labeled “SaveShow Enumerate” or you need to edit line 2 to match the macro name.

No.:CMD:Info:
1SetVar $show_number = 0This defines a counter variable
2Assign Root .”Macros”.”Global”.”SaveShow Enumerate”.1 + 2 /Disabled=“Yes”This line will turn disable line 1 and 2 after the first run of the macro.
3AddVar $show_number = 1This adds 1 to the counter.
4SetVar $show_name_base = “My Show_“This is the base name. Numbers will be added to this.
5SetVar $show_name_current = $show_name_baseThis create a new variable with the “base” name.
6AddVar $show_name_current = $show_numberThis adds the number to the name variable.
7SaveShow $show_name_current /ncThis saves the show with the name. “/nc” suppresses any pop-ups.

In this macro you can see the use of variables and how you can use the AddVar command to append text to other text.