
Using Variable Values
To use variables in CueScript commands, enclose the variable name in single quotes (
'MyVariable'
).
For example, using the variable values set from above, the following variable substitutions would be made:
Cue 'x' Go
Executes Cue 3
Macro 'MyVariable'
Runs Macro 42
Set lcd.top 'Message'
Displays “Hello World” on the top line of the LCD
Log 'y'
Writes “6” to the System Log
WRITE COM1 'caption'
Sends “Press 6 to Start” to the RS-232 port
Using Variable Values as Commands
To use variables values in CueScript as commands, enclose the variable name in accent quotes (
`myCommand`
).
The following example script shows how to assign a string that happens to be valid CueScript to the variable
myCommand
. On the second line of script, if the variable
x
is greater than 3, then the commands in
myCommand
will be executed.
"myCommand" = "Cue 1 Go"
If ('x' > 3) Then `myCommand`
Using System Variables
Special
System Variables
are used to set the properties of hardware devices, or to change internal
behaviors of the CueServer. All system variables include a dot (
.
) in their name, for example
lcd.backlight
, or
universe.priority
.
See the section on
for a description of how to use these built-in variables.
Interactive Technologies, Inc.
CueServer 2 User's Manual - 18.5.18
Page 139 of 429
Содержание CueServer 2
Страница 95: ... U20_3BE S18_3LE S18_3BE U18_3LE Interactive Technologies Inc CueServer 2 User s Manual 18 5 18 Page 93 of 429 ...
Страница 168: ...See Also At Off On Set Interactive Technologies Inc CueServer 2 User s Manual 18 5 18 Page 166 of 429 ...
Страница 187: ...See Also Playback Release Interactive Technologies Inc CueServer 2 User s Manual 18 5 18 Page 185 of 429 ...
Страница 223: ...See Also Release Interactive Technologies Inc CueServer 2 User s Manual 18 5 18 Page 221 of 429 ...
Страница 238: ...See Also Clear Playback Press Interactive Technologies Inc CueServer 2 User s Manual 18 5 18 Page 236 of 429 ...
Страница 260: ...See Also Record Group Interactive Technologies Inc CueServer 2 User s Manual 18 5 18 Page 258 of 429 ...
Страница 286: ...Web Server Environment Variables Interactive Technologies Inc CueServer 2 User s Manual 18 5 18 Page 284 of 429 ...
Страница 342: ...Show File Format Interactive Technologies Inc CueServer 2 User s Manual 18 5 18 Page 340 of 429 ...
Страница 346: ...Configuration Files show cfg Interactive Technologies Inc CueServer 2 User s Manual 18 5 18 Page 344 of 429 ...