grandMA3 User Manual Publication

SetUserVariable Keyword

grandMA3 User Manual » Command Syntax and Keywords » General Keywords » SetUserVariable
Version 2.0

To enter the SetUserVariable keyword in the command line, use one of the options:

  • Type SetUserVariable
  • Type the shortcut Setu

Description

The SetUserVariable keyword is used to set user-specific variables. It also supports the use of values in properties of other objects as a value of the variable.

Syntax

SetUserVariable ["Name of Variable"] [Numeric Value]

SetUserVariable ["Name of Variable"] ["Text_Value"]

SetUserVariable ["Name of Variable"] At [Object] ["Object_Name" or Object Number] Property ["Property_Name"] (/Look)

Option Keywords

The SetUserVariable keyword uses the following option keywords:

Examples


  • To set the user variable "Green" to the value 5, type:
User name[Fixture]>SetUserVariable "Green" 5


  • To set the user variable "MyVar" to the CueFade value of cue 1 of the selected sequence, type:
User name[Fixture]>SetUserVariable "MyVar" At Cue 1 Property "CueFade"


  • To set the user variable "mySeqPrioIdx" to the Priority index value of the selected sequence, type:

User name[Fixture]>SetUserVariable "mySeqPrioIdx" At Sequence Property "Priority"