MA Lighting grandMA2 User Manual - page 1189
© 2017 MA Lighting Technology GmbH | Dachdeckerstr. 16 | D-97297 Waldbüttelbrunn | Germany
Phone +49 5251 688865-30 | tech.support (at) malighting.com | www.malighting.com
Version 3.3
1
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.
SaveShow Enumerate
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:
1
SetVar $show_number = 0
This defines a counter variable
2
Assign 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.
3
AddVar $show_number = 1
This adds 1 to the counter.
4
SetVar $show_name_base = "My Show_"
This is the base name. Numbers will
be added to this.
5
SetVar $show_name_current = $show_name_base
This create a new variable with the
"base" name.
6
AddVar $show_name_current = $show_number
This adds the number to the name
variable.
7
SaveShow $show_name_current /nc
This 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.
1189