grandMA3 User Manual Publication

#[ ] Keyword

grandMA3 User Manual » Command Syntax and Keywords » General Keywords » #[ ]
Version 2.1

To enter the #[ ] character in the command line, type # [ ]

Description

The #[ ] is used instead of object numbers or names in order to address an object. Using #[ ] makes it unnecessary to update macros or commands if the object was moved or the name of the object was changed.

    Syntax

    [Function] #[Object "Object_Name"]

    [Function] #[Object Object_Number]

    Examples


    • To set the variable "MyHandle" to the handle of macro 1, type:
    User name[Fixture]>SetUserVariable "MyHandle" #[Macro 1]

    or:

    User name[Fixture]>SetUserVariable "MyHandle" At Macro 1


    • To go to the next cue in sequence 23 using the handle of the sequence, type:
    User name[Fixture]>Go+ #[Sequence 23]


    • To delete macro lines 1 to 5 of macro 42 using the handle of macro 42, type:
    User name[Fixture]>Delete #[Macro 42].1 Thru 5