QLab's AppleScript Dictionary

The list of commands, functions, properties, and so on that AppleScript can use to interact with an application is called that application's dictionary. You can find QLab's AppleScript dictionary here, or view it within the Script Editor application, which is found in /Applications/Utilities.

In Script Editor, choose Open Dictionary... from the File menu, and choose QLab from the list of applications.

AppleScript dictionaries are grouped by "suite"; all applications that use AppleScript must include the Standard Suite, and then any application-specific commands or properties are generally grouped together into another suite named after the application.

This documentation only describes the commands, classes, enumerations, and records from the QLab Suite. Items from the Standard Suite can also be used in QLab, such as the save command, which saves a specified workspace.

Readers are enthusiastically encouraged to use the navigation sidebar on this page, as AppleScript dictionaries are exceedingly verbose. Readers of the PDF version of this manual are encouraged to brace themselves accordingly.

Commands


audition go

(verb): make a workspace Audition GO.

Syntax

applescript
audition go {workspace}

Parameters

ParameterRequired?TypeDescription
direct parameterworkspaceThe workspace to GO.

Classes

The following classes respond to the audition go command:

Examples

applescript
tell application id "com.figure53.QLab.5" to tell front workspace
  audition go
end tell
applescript
tell application id "com.figure53.QLab.5"
  audition go workspace "hamlet.qlab5"
end tell

audition preview

(verb): Audition preview one or more cues. Previewing a cue starts the action of that cue, skipping pre-waits and ignoring auto-follows and auto-continues.

Syntax

applescript
  preview {cue}

Parameters

ParameterRequired?TypeDescription
direct parametercueThe cue(s) to preview.

Classes

The following classes respond to the audition preview command:

  • any type of cue

Examples

applescript
tell application id "com.figure53.QLab.5" to tell front workspace
  audition preview cue "1"
end tell

capture timecode

(verb): Set the cue's timecode trigger to the current incoming timecode received by its parent cue list.

Syntax

applescript
  capture timecode {cue}

Parameters

ParameterRequired?TypeDescription
direct parametercueThe cue whose timecode trigger is to be captured.

Classes

The following classes respond to the capture timecode command:

  • any type of cue

Examples

applescript
tell application id "com.figure53.QLab.5" to tell front workspace
  capture timecode cue "1"
end tell

clear

(verb): clear the levels in the Light Dashboard.

Syntax

applescript
clear {light dashboard}

Parameters

ParameterRequired?TypeDescription
direct parameterlight dashboardThe Light Dashboard you want to clear.

Classes

The following classes respond to the clear command:

Examples

applescript
tell application id "com.figure53.QLab.5" to tell front workspace
  set theDashboard to current light dashboard
  tell theDashboard to clear
end tell
applescript
tell application id "com.figure53.QLab.5" to tell front workspace
  set theDashboard to current light dashboard
  clear theDashboard
end tell

collapse

(verb): collapse a Group cue or cue list.

Syntax

applescript
collapse {group cue}

Parameters

ParameterRequired?TypeDescription
direct parametergroup cueThe Group cue that will collapse.

Classes

The following classes respond to the collapse command:

Examples

applescript
tell application id "com.figure53.QLab.5" to tell front workspace
  collapse cue "1"
end tell

collateAndStart

(verb): collate and start a Light cue.

Syntax

applescript
collateAndStart {light cue}

Parameters

ParameterRequired?TypeDescription
direct parameterlight cueThe Light cue that you want to collate and start.

Classes

The following classes respond to the collateAndStart command:

Examples

applescript
tell application id "com.figure53.QLab.5" to tell front workspace
  collateAndStart cue "1"
end tell

compile

(verb): verify and prepare the script for use.

Syntax

applescript
compile {script cue}

Parameters

ParameterRequired?TypeDescription
direct parameterscript cueThe Script cue whose source you want to (re)compile.

Classes

The following classes respond to the compile command:

Examples

applescript
tell application id "com.figure53.QLab.5" to tell front workspace
  compile cue "1"
end tell

delete

(verb): delete a cue or list of cues.

Syntax

applescript
delete {cue}

Parameters

ParameterRequired?TypeDescription
direct parametercue or listThe cue or cues to delete.

Classes

The following classes respond to the delete command:

Examples

applescript
-- the cue whose cue number is "1"
delete cue "1" 

-- one or several selected cues
delete selected
applescript
-- a list of cues based on position in the cue list
set listOfCues to cues 3 thru -1 of myCueList
delete listOfCues

-- an indivdual cue by position
delete last cue of myGroupCue

expand

(verb): expand a Group cue or cue list.

Syntax

applescript
expand {group cue}

Parameters

ParameterRequired?TypeDescription
direct parametergroup cueThe Group cue that will expand.

Classes

The following classes respond to the expand command:

Examples

applescript
tell application id "com.figure53.QLab.5" to tell front workspace
  expand cue "1"
end tell

getGang

(verb): get the gang for a specified location in the cue's matrix.

Syntax

applescript
set theResult to getGang {cue} row {row_number} column {column_number}

Result

text: the value of the gang at the specified location in the cue's matrix.

Parameters

ParameterRequired?TypeDescription
direct parametercueThe cue from which you want to get the gang.
columnintegerThe column of the level matrix. Column 0 is the main and input levels column.
rowintegerThe row of the level matrix. Row 0 is the main and output levels row.

Classes

The following classes respond to the getGang command:

Examples

applescript
tell application id "com.figure53.QLab.5" to tell front workspace
  set theGang to getGang 1 row 0 column 1
  display dialog "The gang for row 0, column 1 is: " & theGang
end tell

getInputChannelName

(verb): get the input name for a specified input channel.

Syntax

applescript
set theResult to getInputChannelName {cue} row {row_number}

Result

text: the name for the input channel.

Parameters

ParameterRequired?TypeDescription
direct parametercueThe cue from which you want to get the audio input name.
rowintegerThe row of the level matrix. Starts at 1.

Classes

The following classes respond to the getGang command:

Examples

applescript
tell application id "com.figure53.QLab.5" to tell front workspace
  set theName to getInputChannelName 1 row 2
  display dialog "The input name for input 2 of cue 1 is: " & theName
end tell

getLevel

(verb): get the level for a specified location in the cue's matrix.

Syntax

applescript
set theResult to getLevel {cue} row {row_number} column {column_number}

Result

real number: the level in decibels of the specified location in the cue's matrix.

Parameters

ParameterRequired?TypeDescription
direct parametercueThe cue from which you want to get the level.
columnintegerThe column of the level matrix. Column 0 is the main and input levels column.
rowintegerThe row of the level matrix. Row 0 is the main and output levels row.

Classes

The following classes respond to the getLevel command:

Examples

applescript
tell application id "com.figure53.QLab.5" to tell front workspace
  set theLevel to getLevel 1 row 0 column 1
  display dialog "The level for row 0, column 1 of cue 1 is: " & theLevel
end tell

getMute

(verb): get the status of the mute button for a specified output of the cue.

Syntax

applescript
set theResult to getMute {cue} output {output_number}

Result

boolean: the state of the specified mute control.

Parameters

ParameterRequired?TypeDescription
direct parametercueThe cue from which you want to get the mute state.
outputintegerThe output of the level matrix. Output 0 is the main level.

Classes

The following classes respond to the getMute command:

Examples

applescript
tell application id "com.figure53.QLab.5" to tell front workspace
  set theMute to cue "6" getMute output 1
  display dialog "The mute state of output 1 is: " & theMute
end tell

getSolo

(verb): get the status of the solo button for a specified output of the cue.

Syntax

applescript
set theResult to getSolo {cue} output {output_number}

Result

boolean: the state of the specified solo control.

Parameters

ParameterRequired?TypeDescription
direct parametercueThe cue from which you want to get the solo state.
outputintegerThe output of the level matrix. Output 0 is the main level.

Classes

The following classes respond to the getMute command:

Examples

applescript
tell application id "com.figure53.QLab.5" to tell front workspace
  set theSolo to cue "6" getMute output 1
  display dialog "The solo state of output 1 is: " & theMute
end tell

go

(verb): make a workspace GO.

Syntax

applescript
go {workspace}

Parameters

ParameterRequired?TypeDescription
direct parameterworkspaceThe workspace to GO.

Classes

The following classes respond to the go command:

Examples

applescript
tell application id "com.figure53.QLab.5"
  go front workspace
end tell
applescript
tell application id "com.figure53.QLab.5"
  go workspace "hamlet.qlab5"
end tell

hardStop

(verb): hardStop one or more cues or workspaces.

Syntax

applescript
hardStop {reference}

Parameters

ParameterRequired?TypeDescription
direct parameterreferenceThe cue(s) or workspace(s) to hardStop.

Classes

The following classes respond to the hardStop command:

Examples

applescript
tell application id "com.figure53.QLab.5"
  hardStop cue "1"
end tell
applescript
tell application id "com.figure53.QLab.5"
  hardStop front workspace
end tell

load

(verb): load one or more cues or workspaces to a given time. A negative value loads that many seconds back from the end of the cue.

Syntax

applescript
load {reference} time {real number}

Parameters

ParameterRequired?TypeDescription
direct parameterreferenceThe cue(s) or workspace(s) to load.
timereal numberLoad time.

Note: Because "load" is both a noun and a verb in QLab (load vs. Load cue), you need to place the reference within parentheses; see examples below.

Classes

The following classes respond to the load command:

Examples

applescript
tell application id "com.figure53.QLab.5"
  -- load the cue whose cue number is "1"
  load (cue "1")
end tell
applescript
tell application id "com.figure53.QLab.5"
  -- load the cue whose cue number is "2" to 15 seconds
  load (cue "2") time 15
end tell
applescript
tell application id "com.figure53.QLab.5"
  -- load the cue whose cue number is "3" to 20 seconds before the end of the cue
  load (cue "3") time -20
end tell
applescript
tell application id "com.figure53.QLab.5"
  -- load the cue whose cue id is 4
  load (cue 4)
end tell
applescript
tell application id "com.figure53.QLab.5"
  -- this does not work!
  -- AppleScript thinks you're talking about a Load cue whose cue number is "5"
  load cue "5"
end tell

make

(verb): make a new cue in a workspace. The cue will be created below the currently selected cue.

Syntax

applescript
make {workspace} type {text}

Parameters

ParameterRequired?TypeDescription
direct parameterworkspaceThe workspace in which the cue will be made.
typetextThe name of the kind of cue you want to create (audio, video, camera, etc.) To create a new cue list, use "cue list". To create a new cue cart, use "cue cart".

Classes

The following classes respond to the make command:

Examples

applescript
tell application id "com.figure53.QLab.5"
  make front workspace type "audio"
end tell
applescript
tell application id "com.figure53.QLab.5"
  make front workspace type "cue list"
end tell
applescript
tell application id "com.figure53.QLab.5"
  make workspace "hamlet.qlab5" type "midi"
end tell

move

(verb): move a cue or list of cues to a new location.

Syntax

applescript
move {reference to cue or list} to {location specifier}

Parameters

ParameterRequired?TypeDescription
direct parameterreference to cue or list of cuesThe cue or list of cues to move.
tolocation specifierThe new location for the cue or cues.

Examples

applescript
-- moving a cue
set theCue to cue "FROMCUE"
set theDestination to cue "DESTCUE"
move theCue to {after|before|beginning of|end of} theDestination
applescript
-- moving a list of cues
set theCues to {list_of_cues}
set theDestination to cue "DESTCUE"
move theCues to {after|before|beginning of|end of} theDestination
applescript
-- by position within a group or list
set theGroupCue to cue "MYGROUP"
set theDestination to cue "DESTCUE"
move last cue of theGroupCue to {after|before|beginning of|end of} theDestination

movePlayheadDown

(verb): move the playhead to the next cue.

Syntax

applescript
movePlayheadDown {specifier}

Parameters

ParameterRequired?TypeDescription
direct parameterworkspace or cue numberThe workspace or cue list whose playhead will change.

Classes

The following classes respond to the movePlayheadDown command:

Examples

applescript
-- move the playhead to the next cue in the active cue list of the front workspace
tell application id "com.figure53.QLab.5" to tell front workspace
  movePlayheadDown
end tell
applescript
-- move the playhead to the next cue in the active cue list of a specific workspace
tell application id "com.figure53.QLab.5"
  movePlayheadDown workspace "hamlet.qlab5"
end tell
applescript
-- move the playhead to the next cue in a cue list numbered "101" in the front workspace
tell application id "com.figure53.QLab.5" to tell front workspace
  movePlayheadDown cue "101"
end tell
applescript
-- move the playhead to the next cue in a cue list numbered "101" in a specific workspace
tell application id "com.figure53.QLab.5" to tell cue "101" of workspace "ophelia"
  movePlayheadDown
end tell

movePlayheadDownASequence

(verb): move the playhead to the top of the next cue sequence.

Syntax

applescript
movePlayheadDownASequence {workspace}

Parameters

ParameterRequired?TypeDescription
direct parameterworkspaceThe workspace whose playhead will change.

Classes

The following classes respond to the movePlayheadDownASequence command:

Examples

applescript
tell application id "com.figure53.QLab.5" to tell front workspace
  movePlayheadDownASequence
end tell
applescript
tell application id "com.figure53.QLab.5"
  movePlayheadDownASequence workspace "hamlet.qlab5"
end tell

movePlayheadUp

(verb): move the playhead to the previous cue.

Syntax

applescript
movePlayheadUp {specifier}

Parameters

ParameterRequired?TypeDescription
direct parameterworkspace or cue numberThe workspace or cue list whose playhead will change.

Classes

The following classes respond to the movePlayheadUp command:

Examples

applescript
-- move the playhead to the next cue in the active cue list of the front workspace
tell application id "com.figure53.QLab.5" to tell front workspace
  movePlayheadUp
end tell
applescript
-- move the playhead to the next cue in the active cue list of a specific workspace
tell application id "com.figure53.QLab.5"
  movePlayheadUp workspace "hamlet.qlab5"
end tell
applescript
-- move the playhead to the next cue in a cue list numbered "101" in the front workspace
tell application id "com.figure53.QLab.5" to tell front workspace
  movePlayheadUp cue "101"
end tell
applescript
-- move the playhead to the next cue in a cue list numbered "101" in a specific workspace
tell application id "com.figure53.QLab.5" to tell cue "101" of workspace "ophelia"
  movePlayheadUp
end tell

movePlayheadUpASequence

(verb): move the playhead to the top of the previous cue sequence.

Syntax

applescript
movePlayheadUpASequence {workspace}

Parameters

ParameterRequired?TypeDescription
direct parameterworkspaceThe workspace whose playhead will change.

Classes

The following classes respond to the movePlayheadUpASequence command:

Examples

applescript
tell application id "com.figure53.QLab.5" to tell front workspace
  movePlayheadUpASequence
end tell
applescript
tell application id "com.figure53.QLab.5"
  movePlayheadUpASequence workspace "hamlet.qlab5"
end tell

moveSelectionDown

(verb): select the next cue.

Syntax

applescript
moveSelectionDown {workspace}

Parameters

ParameterRequired?TypeDescription
direct parameterworkspaceThe workspace whose selection will change.

Classes

The following classes respond to the moveSelectionDown command:

Examples

applescript
tell application id "com.figure53.QLab.5" to tell front workspace
  moveSelectionDown
end tell
applescript
tell application id "com.figure53.QLab.5"
  moveSelectionDown workspace "hamlet.qlab5"
end tell

moveSelectionUp

(verb): select the previous cue.

Syntax

applescript
moveSelectionUp {workspace}

Parameters

ParameterRequired?TypeDescription
direct parameterworkspaceThe workspace whose selection will change.

Classes

The following classes respond to the moveSelectionUp command:

Examples

applescript
tell application id "com.figure53.QLab.5" to tell front workspace
  moveSelectionUp
end tell
applescript
tell application id "com.figure53.QLab.5"
  moveSelectionUp workspace "hamlet.qlab5"
end tell

newCueWithAll

(verb): create a new Light cue containing levels for all parameters of all instruments.

Syntax

applescript
newCueWithAll {light dashboard}

Parameters

ParameterRequired?TypeDescription
direct parameterlight dashboardThe Light Dashboard from which you want to create a new Light cue.

Classes

The following classes respond to the newCueWithAll command:

Examples

applescript
tell application id "com.figure53.QLab.5" to tell front workspace
  set theDashboard to current light dashboard
  newCueWithAll theDashboard
end tell

newCueWithChanges

(verb): create a new Light cue containing levels for all manually adjusted parameters in the Light Dashboard.

Syntax

applescript
newCueWithChanges {light dashboard}

Parameters

ParameterRequired?TypeDescription
direct parameterlight dashboardThe Light Dashboard from which you want to create a new Light cue.

Classes

The following classes respond to the newCueWithChanges command:

Examples

applescript
tell application id "com.figure53.QLab.5" to tell front workspace
  set theDashboard to current light dashboard
  newCueWithChanges theDashboard
end tell

panic

(verb): panic one or more cues or workspaces.

Syntax

applescript
  panic {reference}

Parameters

ParameterRequired?TypeDescription
direct parameterreferenceThe cue(s) or workspace(s) to panic.

Classes

The following classes respond to the panic command:

Examples

applescript
tell application id "com.figure53.QLab.5" to tell front workspace
  panic
end tell
applescript
tell application id "com.figure53.QLab.5"
  panic front workspace
end tell
applescript
tell application id "com.figure53.QLab.5" to tell front workspace
  panic cue "1"
end tell

pause

(verb): pause one or more cues or workspaces.

Syntax

applescript
  pause {reference}

Parameters

ParameterRequired?TypeDescription
direct parameterreferenceThe cue(s) or workspace(s) to pause.

Classes

The following classes respond to the pause command:

Examples

applescript
tell application id "com.figure53.QLab.5" to tell front workspace
  pause
end tell
applescript
tell application id "com.figure53.QLab.5"
  pause front workspace
end tell
applescript
tell application id "com.figure53.QLab.5" to tell front workspace
  pause cue "1"
end tell

preview

(verb): preview one or more cues. Previewing a cue starts the action of that cue, skipping pre-waits and ignoring auto-follows and auto-continues.

Syntax

applescript
  preview {cue}

Parameters

ParameterRequired?TypeDescription
direct parametercueThe cue(s) to preview.

Classes

The following classes respond to the preview command:

  • any type of cue

Examples

applescript
tell application id "com.figure53.QLab.5" to tell front workspace
  preview cue "1"
end tell

prune

(verb): remove light commands that have no effect from a Light cue.

Syntax

applescript
  prune {light cue}

Parameters

ParameterRequired?TypeDescription
direct parameterlight cueThe Light cue(s) whose command text you want to prune.

Classes

The following classes respond to the prune command:

Examples

applescript
tell application id "com.figure53.QLab.5" to tell front workspace
  prune cue "1"
end tell

recordAllToLatest

(verb): record all levels for all parameters of all instruments into the latest run Light cue.

Syntax

applescript
  recordAllToLatest {light dashboard}

Parameters

ParameterRequired?TypeDescription
direct parameterlight dashboardThe Light Dashboard from which you want to record all to the latest cue.

Classes

The following classes respond to the recordAllToLatest command:

Examples

applescript
tell application id "com.figure53.QLab.5" to tell front workspace
  set theDashboard to current light dashboard
  recordAllToLatest theDashboard
end tell

recordAllToSelected

(verb): record all levels for all parameters of all instruments into the selected Light cue(s).

Syntax

applescript
  recordAllToSelected {light dashboard}

Parameters

ParameterRequired?TypeDescription
direct parameterlight dashboardThe Light Dashboard from which you want to record all to the selected cue(s).

Classes

The following classes respond to the recordAllToSelected command:

Examples

applescript
tell application id "com.figure53.QLab.5" to tell front workspace
  set theDashboard to current light dashboard
  recordAllToSelected theDashboard
end tell

redo

(verb): redo the last undone action.

Syntax

applescript
  redo {reference}

Parameters

ParameterRequired?TypeDescription
direct parameterreferenceThe workspace or Light Dashboard in which you want to redo the last undone action.

Classes

The following classes respond to the redo command:

Examples

applescript
tell application id "com.figure53.QLab.5" to tell front workspace
  redo
end tell
applescript
tell application id "com.figure53.QLab.5" to tell front workspace
  set theDashboard to current light dashboard
  redo theDashboard
end tell

removeLightCommandsMatching

(verb): remove existing light commands in the specified cue matching the command provided.

Syntax

applescript
  removeLightCommandsMatching {cue} command {text}

Parameters

ParameterRequired?TypeDescription
direct parametercueThe cue from which you want to remove light commands.
commandtextThe full text of the light command you want to remove.

Classes

The following classes respond to the removeLightCommandsMatching command:

Examples

applescript
tell application id "com.figure53.QLab.5" to tell front workspace
  removeLightCommandsMatching cue "1" command "myLight.intensity = 100"
end tell

replaceLightCommand

(verb): replace a specified light command in the specified cue with a new light command.

Syntax

applescript
  replaceLightCommand {cue} oldCommandText {text} newCommandText {text}

Parameters

ParameterRequired?TypeDescription
direct parametercueThe cue in which you want to replace light commands.
newCommandTexttextThe full text of the light command that will replaced the old.
oldCommandTexttextThe full text of the light command that will be replaced.

Classes

The following classes respond to the replaceLightCommand command:

Examples

applescript
tell application id "com.figure53.QLab.5" to tell front workspace
  replaceLightCommand cue "1" oldCommandText "myLight.intensity = 100" newCommandText "myLight.intensity = 80"
end tell

reset

(verb): reset one or more cues or workspaces.

Syntax

applescript
  reset {reference}

Parameters

ParameterRequired?TypeDescription
direct parameterreferenceThe cue(s) or workspace(s) to reset.

Classes

The following classes respond to the reset command:

Examples

applescript
tell application id "com.figure53.QLab.5" to tell front workspace
  reset cue "1"
end tell
applescript
tell application id "com.figure53.QLab.5" to tell front workspace
  reset
end tell
applescript
tell application id "com.figure53.QLab.5"
  reset workspace "hamlet.qlab5"
end tell

revert

(verb): revert changes in the specified Light Dashboard.

Syntax

applescript
  revert {light dashboard}

Parameters

ParameterRequired?TypeDescription
direct parameterlight dashboardThe Light Dashboard in which you want to revert changes.

Classes

The following classes respond to the revert command:

Examples

applescript
tell application id "com.figure53.QLab.5" to tell front workspace
  set theDashboard to current light dashboard
  revert theDashboard
end tell

save

(verb): save the last undone action.

Syntax

applescript
  save {reference}

Parameters

ParameterRequired?TypeDescription
direct parameterreferenceThe workspace or Light Dashboard in which you want to save the last undone action.

Classes

The following classes respond to the save command:

Examples

applescript
tell application id "com.figure53.QLab.5" to tell front workspace
  save
end tell

setGang

(verb): set the gang for a specified location in the cue's matrix.

Syntax

applescript
setGang {cue} row {row_number} column {column_number} gang {text}

Parameters

ParameterRequired?TypeDescription
direct parametercueThe cue for which you want to set the gang.
columnintegerThe column of the level matrix. Column 0 is the main and input levels column.
gangtextThe gang to set.
rowintegerThe row of the level matrix. Row 0 is the main and output levels row.

Classes

The following classes respond to the setGang command:

Examples

applescript
tell application id "com.figure53.QLab.5" to tell front workspace
  set cue "1" row 0 column 1 gang "a"
end tell

setInputChannelName

(verb): set the input name for a specified row of a cue.

Syntax

applescript
setInputChannelName {cue} row {row_number} name {text}

Parameters

ParameterRequired?TypeDescription
direct parametercueThe cue for which you want to set the audio input name.
nametextThe name for the input channel.
rowintegerThe row of the level matrix. Starts at 1.

Classes

The following classes respond to the setInputChannelName command:

Examples

applescript
tell application id "com.figure53.QLab.5" to tell front workspace
  setInputChannelName cue "1" row 0 input "vocals"
end tell

setLevel

(verb): set the level in decibels for a specified location in the cue's matrix.

Syntax

applescript
setLevel {cue} row {row_number} column {column_number} db {real number}

Parameters

ParameterRequired?TypeDescription
direct parametercueThe cue for which you want to set the level.
columnintegerThe column of the level matrix. Column 0 is the main and input levels column.
dbreal numberThe level in decibels to set.
rowintegerThe row of the level matrix. Row 0 is the main and output levels row.

Classes

The following classes respond to the setLevel command:

Examples

applescript
tell application id "com.figure53.QLab.5" to tell front workspace
  setLevel cue "1" row 0 column 1 db "-6"
end tell

setLight

(verb): add a light command to the specified cue or to the Light Dashboard.

Syntax

applescript
setLight {reference} selector {text} value {real number or text}

Parameters

ParameterRequired?TypeDescription
direct parameterreferenceThe Light cue or Light Dashboard for which you want to add a light command.
selectortextThe instrument or group name for the command you want to add. Using a parameter name as well is optional.
valuereal number or textOptional parameter value to set.

Classes

The following classes respond to the setLight command:

Examples

applescript
tell application id "com.figure53.QLab.5" to tell front workspace
  setLight cue "1" selector "myLight"
end tell
applescript
tell application id "com.figure53.QLab.5" to tell front workspace
  set theDashboard to current light dashboard
  setLight theDashboard selector "myLight.red" value "50"
end tell

setMute

(verb): set the status of the mute button for a specified output of the cue.

Syntax

applescript
setMute {cue} output {output_number} mute {boolean}

Parameters

ParameterRequired?TypeDescription
direct parametercueThe cue for which you want to set the mute.
outputintegerThe output number. Output 0 is the main level.
mutebooleanTrue = mute. False = unmute.

Classes

The following classes respond to the setMute command:

Examples

applescript
tell application id "com.figure53.QLab.5" to tell front workspace
  setMute cue "1" output 0 mute true
end tell

setSolo

(verb): set the status of the solo button for a specified output of the cue.

Syntax

applescript
setSolo {cue} output {output_number} solo {boolean}

Parameters

ParameterRequired?TypeDescription
direct parametercueThe cue for which you want to set the mute.
outputintegerThe output number. Output 0 is the main level.
solobooleanTrue = solo. False = unsolo.

Classes

The following classes respond to the setSolo command:

Examples

applescript
tell application id "com.figure53.QLab.5" to tell front workspace
  setSolo cue "1" output 0 mute true
end tell

shuffle

(verb): shuffle the order of child cues in a Group cue.

Syntax

applescript
shuffle {group cue}

Parameters

ParameterRequired?TypeDescription
direct parametergroup cueThe Group cue(s) whose child cues you want to shuffle.

Classes

The following classes respond to the start command:

Examples

applescript
tell application id "com.figure53.QLab.5" to tell front workspace
  start
end tell

start

(verb): start one or more cues or workspaces.

Syntax

applescript
start {reference}

Parameters

ParameterRequired?TypeDescription
direct parametercueThe cue(s) or workspace(s) to start. Starting a workspace unpauses all paused cues; it does not start cues which are not paused.

Classes

The following classes respond to the start command:

Examples

applescript
tell application id "com.figure53.QLab.5" to tell front workspace
  start
end tell
applescript
tell application id "com.figure53.QLab.5" to tell front workspace
  start cue "1"
end tell

stop

(verb): stop one or more cues or workspaces.

Syntax

applescript
stop {reference}

Parameters

ParameterRequired?TypeDescription
direct parametercueThe cue(s) or workspace(s) to stop.

Classes

The following classes respond to the stop command:

Examples

applescript
tell application id "com.figure53.QLab.5" to tell front workspace
  stop
end tell
applescript
tell application id "com.figure53.QLab.5" to tell front workspace
  stop cue "1"
end tell

undo

(verb): undo the last action.

Syntax

applescript
undo {reference}

Parameters

ParameterRequired?TypeDescription
direct parametercueThe workspace or Light Dashboard in which you want to undo the last action.

Classes

The following classes respond to the undo command:

Examples

applescript
tell application id "com.figure53.QLab.5" to tell front workspace
  undo
end tell
applescript
tell application id "com.figure53.QLab.5" to tell front workspace
  set theDashboard to current light dashboard
  undo theDashboard
end tell

updateLatestCue

(verb): copy all manually adjusted levels into the latest run Light cue.

Syntax

applescript
  updateLatestCue {light dashboard}

Parameters

ParameterRequired?TypeDescription
direct parameterlight dashboardThe Light Dashboard from which you want to update the latest cue.

Classes

The following classes respond to the updateLatestCue command:

Examples

applescript
tell application id "com.figure53.QLab.5" to tell front workspace
  set theDashboard to current light dashboard
  updateLatestCue theDashboard
end tell

updateOriginatingCues

(verb): copy all manually adjusted levels into their originating Light cue(s).

Syntax

applescript
  updateOriginatingCues {light dashboard}

Parameters

ParameterRequired?TypeDescription
direct parameterlight dashboardThe Light Dashboard from which you want to update the originating cue(s).

Classes

The following classes respond to the updateOriginatingCues command:

Examples

applescript
tell application id "com.figure53.QLab.5" to tell front workspace
  set theDashboard to current light dashboard
  updateOriginatingCues theDashboard
end tell

updateSelectedCues

(verb): copy all manually adjusted levels into the selected Light cue(s).

Syntax

applescript
  updateSelectedCues {light dashboard}

Parameters

ParameterRequired?TypeDescription
direct parameterlight dashboardThe Light Dashboard from which you want to update the selected cue(s).

Classes

The following classes respond to the updateSelectedCues command:

Examples

applescript
tell application id "com.figure53.QLab.5" to tell front workspace
  set theDashboard to current light dashboard
  updateSelectedCues theDashboard
end tell

Classes


application

(noun): the top-level scripting object of QLab.

Properties

PropertyAccessTypeDescription
frontmostgetbooleanIs this the frontmost (active) application?
namegettextThe name of the application.
overridesgetoverride controllerApplication-wide communication overrides.
preferencesgetpreferences controllerApplication-wide preferences and settings.
versiongettextThe version of the application.

Elements

ElementAccessKey FormsDescription
documentgetby name, by index, by range, relative to others, by whose/where, by unique ID
windowgetby name, by index, by range, relative to others, by whose/where, by unique ID
workspacegetby name, by index, by range, relative to others, by whose/where, by unique ID

Commands

The application class responds to the following commands:

CommandDescription
openOpen QLab.
printThis command has no effect in QLab.
quitQuit QLab.

audio cue

*(noun), pl. audio cues *

Properties

In addition to the properties listed here, audio cue inherits properties from cue.

PropertyAccessTypeDescription
audio input channelsgetintegerThe number of audio input channels for this cue (i.e. the number of distinct channels in the target audio file.)
audio output patch nameget/settextThe name of this cue's audio output patch. none means "unpatched."
audio output patch numberget/setintegerThe 1-indexed number of this cue's audio output patch. 0 means "unpatched."
audio output patch idget/settextThe unique ID of this cue's audio output patch. Empty string or none means "unpatched."
end timeget/setreal numberTime in the target file where playback ends.
infinite loopget/setbooleanDoes this cue loop infinitely?
integrated fadeget/setenabled or disabledState of the integrated fade checkbox.
last slice infinite loopget/setbooleanDoes the last slice of this cue loop infinitely?
last slice play countget/setintegerNumber of times the last slice of this cue plays. Always >= 1.
lock fade to cueget/setenabled or disabledState of the lock fade to start/end checkbox.
patchget/setintegerThe 1-indexed number of this cue's audio output patch. Deprecated in QLab 5.0 - use audio output patch number instead.
play countget/setbooleanNumber of times this cue plays. Always >= 1.
preserve pitchget/setenabled disabledState of the preserve pitch checkbox.
rateget/setreal numberPlayback rate of this cue.
slice markersget/setlist of slice marker recordList of slice markers in this cue.
start timeget/setreal numberTime in the target file where playback begins.

Elements

ElementAccessKey FormsDescription
cueget/make/deleteby name, by index, by uniqueID

Commands

The audio cue class responds to the following commands:

CommandDescription
audition previewAudition preview one or more cues. Previewing starts only the action of the cue, skipping any prewait and not continuing to other cues.
capture timecodeSet the cue's timecode trigger to the current incoming timecode received by its parent cue list.
getGangGet the gang for a specified location in the cue's matrix.
getInputChannelNameGet the input name for a specified row in the cue's matrix.
getLevelGet the level for a specified location in the cue's matrix.
getMuteGet the status of the mute button of a specified output.
getSoloGet the status of the solo button of a specified output.
hardStophardStop one or more cues or workspaces.
loadLoad one or more cues or workspaces to a given time.
panicPanic one or more cues or workspaces.
pausePause one or more cues or workspaces.
previewPreview one or more cues.
resetReset one or more cues or workspaces.
setGangSet the gang for a specified location in the cue's matrix.
setInputChannelNameSet the intput name for a specified row in the cue's matrix.
setLevelSet the level for a specified location in the cue's matrix.
setMuteSet the status of the mute button of a specified output.
setSoloSet the status of the solo button of a specified output.
startStart one or more cues or workspaces.
stopStop one or more cues or workspaces.

Superclass

The audio cue class inherits elements and properties from the cue class.


camera cue

*(noun), pl. camera cues *

Properties

In addition to the properties listed here, camera cue inherits properties from cue.

PropertyAccessTypeDescription
anchor xget/setreal numberAnchor along the x axis.
anchor yget/setreal numberAnchor along the y axis.
audio input channelsgetintegerThe number of audio input channels for this cue (i.e. the number of distinct channels in the target audio file.)
audio input patch nameget/settextThe name of this cue's audio input patch. none means "unpatched."
audio input patch numberget/setintegerThe 1-indexed number of this cue's audio input patch. 0 equals "unpatched."
audio input patch idget/settextThe unique ID of this cue's audio input patch. Empty string or none equals "unpatched."
audio output patch nameget/settextThe name of this cue's audio output patch. none means "unpatched."
audio output patch numberget/setintegerThe 1-indexed number of this cue's audio output patch. 0 means "unpatched."
audio output patch idget/settextThe unique ID of this cue's audio output patch. Empty string or none means "unpatched."
blend modeget/settextDisplay name of the video blend mode.
camera patchget/setintegerThe 1-indexed number of this cue's camera patch. Deprecated in QLab 5.0 - use video input patch number instead.
fill stageget/setbooleanIs the cue displaying in fill stage mode?
fill styleget/setfill stylesHow does the cue fill the stage?
full screenget/setbooleanIs the cue displaying in full-stage mode? Deprecated in QLab 5.0 - use 'fill stage' instead.
full surfaceget/setbooleanIs the cue displaying in full-stage mode? Deprecated in QLab 5.0 - use 'fill stage' instead.
layerget/setintegerThe display layer of this cue. 0 is the bottom layer; 1000 is the top layer.
opacityget/setreal numberThe opacity of this cue. 0 = 0%; 0.5 = 50%; 1 = 100%
scale xget/setreal numberThe X-axis scale of this cue.
scale yget/setreal numberThe Y-axis scale of this cue.
smoothget/setbooleanShould the cue be scaled using smoothing interpolation?
stage nameget/settextVideo output stage name. Empty string or none means "unpatched."
stage numberget/setintegerVideo output stage number. 0 means "unpatched."
stage idget/settextVideo output stage unique ID. Empty string or none means "unpatched."
translation xget/setreal numberThe X-axis translation (position) of this cue.
translation yget/setreal numberThe Y-axis translation (position) of this cue.
video input patch nameget/settextThe name of this cue's video input patch. none means "unpatched."
video input patch numberget/setintegerThe 1-indexed number of this cue's video input patch. 0 means "unpatched."
video input patch idget/settextThe unique ID of this cue's video input patch. Empty string or none means "unpatched."

Elements

ElementAccessKey FormsDescription
cueget/make/deleteby name, by index, by uniqueID

Commands

The camera cue class responds to the following commands:

CommandDescription
audition previewAudition preview one or more cues. Previewing starts only the action of the cue, skipping any prewait and not continuing to other cues.
capture timecodeSet the cue's timecode trigger to the current incoming timecode received by its parent cue list.
getGangGet the gang for a specified location in the cue's matrix.
getInputChannelNameGet the input name for a specified row in the cue's matrix.
getLevelGet the level for a specified location in the cue's matrix.
getMuteGet the status of the mute button of a specified output.
getSoloGet the status of the solo button of a specified output.
hardStophardStop one or more cues or workspaces.
loadLoad one or more cues or workspaces to a given time.
panicPanic one or more cues or workspaces.
pausePause one or more cues or workspaces.
previewPreview one or more cues.
resetReset one or more cues or workspaces.
setGangSet the gang for a specified location in the cue's matrix.
setInputChannelNameSet the intput name for a specified row in the cue's matrix.
setLevelSet the level for a specified location in the cue's matrix.
setMuteSet the status of the mute button of a specified output.
setSoloSet the status of the solo button of a specified output.
startStart one or more cues or workspaces.
stopStop one or more cues or workspaces.

Superclass

The camera cue class inherits elements and properties from the cue class.


cue

*(noun), pl. cues *

Properties

All cues have properties from this list, but not every type of cue has every property. For example, only cue type which accept a file target (Audio, Video, and MIDI file) have the file target property.

PropertyAccessTypeDescription
action elapsedgetreal numberThe time in seconds that have elapsed in the action of this cue.
armedget/setbooleanIs this cue armed?
autoloadget/setbooleanDoes this cue auto-load?
brokengetbooleanIs this cue broken?
cart positiongetrow column recordThe row and column numbers for the position of this cue within a cart. A cue that is not contained within a cart will return row and column 0.
continue modeget/setcontine modesThe continue mode of this cue.
cue targetget/setcueThe cue this cue targets, if any.
current durationgetreal numberThe current duration of this cue's action in seconds. This property reflects the temporary duration, if it has been set. Otherwise, it returns this cue's duration.
duck levelget/setreal numberThe "duck or boost others" audio level. Accepts a range of -120 to 12.
duck othersget/setenabled or disabledThe "duck or boost others" setting of this cue.
duck timeget/setreal numberThe "duck or boost others" fade time.
durationgetreal numberThe duration of this cue's action in seconds. Not editable for all cue types.
fade and stop othersget/setintegerThe "fade and stop others" setting of the cue:
0 = disabled
1 = peers
2 = list
3 = all
fade and stop others timeget/setreal numberThe "fade and stop others" time in seconds.
file targetget/setfileThe file this cue targets, if any.
flaggedget/setbooleanIs this cue flagged?
hotkey triggerget/setenabled or disabledState of the hotkey trigger checkbox.
loadedgetbooleanIs this cue loaded?
midi byte oneget/setstringByte 1 of this cue's MIDI trigger, if any.
midi byte one stringget/setstringDisplay string of byte 1 of this cue's MIDI trigger, if any.
midi byte twoget/setintegerByte 2 of this cue's MIDI trigger, if any.
midi byte two stringget/setstringDisplay string of byte 2 of this cue's MIDI trigger, if any.
midi commandget/setmidi commandsType of MIDI command used for this cue's MIDI trigger, if any. NOTE: pitch bend messages cannot be used for MIDI triggers.
midi triggerget/setenabled or disabledState of the MIDI trigger checkbox.
midi trigger channelget/setintegerMIDI channel used for the MIDI trigger of the cue. 0 is the workspace channel, -1 is "any channel".
notesget/settextThe notes for this cue.
parentgetgroup cueThe parent cue of this cue.
parent listgetcueThe cue list or cue cart that contains this cue.
pausedgetbooleanIs this cue paused?
percent action elapsedgetreal numberThe percentage of this cue's action that has elapsed.
percent post wait elapsedgetreal numberThe percentage of this cue's post-wait that has elapsed.
percent pre wait elapsedgetreal numberThe percentage of this cue's pre-wait that has elapsed.
post waitget/setreal numberThe time in seconds before this cue auto-continues, if this cue is set to auto-continue.
post wait elapsedgetreal numberThe time in seconds of this cue's post-wait that has elapsed.
pre waitget/setreal numberThe time in seconds that this cue's action will delay after being started.
pre wait elapsedgetreal numberThe time in seconds of this cue's pre-wait that has elapsed.
q colorget/settextThe name of this cue's color, or "none" if no color is set.
q color 2get/settextThe name of this cue's second color, or "none" if no color is set.
q default namegettextThe name that QLab would give to this cue by default.
q display namegettextThe name of this cue as displayed in the standby view. Never empty.
q list namegettextThe name of this cue as displayed in the cue list or cart. Might be a default name.
q nameget/settextThe name of this cue.
q numberget/settextThe number of this cue. Unique if present. May be empty.
q typegettextThe name of this type of cue (i.e. "Audio", "Video", etc.)
runninggetbooleanIs this cue running?
second trigger actionget/setintegerThe second trigger action of the cue:
0 = do nothing
1 = panic
2 = stop
3 = hard stop
4 = hard stop and restart
5 = devamp
6 = (playlist only) play next
7 = (playlist only) play previous
second trigger on releaseget/setenabled or disabledState of the "second trigger on release" checkbox.
skip if disarmedget/setbooleanSkip this cue if it is not armed?
temp durationget/setreal numberThe temporary duration of this cue's action in seconds. Not all cues support temporary durations. Setting the temporary duration does not mark the document as edited. Reset the cue to restore its original, saved duration.
timecode bitsget/setintegerThe bits field of the timecode trigger of this cue.
timecode framesget/setintegerThe frames field of the timecode trigger of this cue.
timecode hoursget/setintegerThe hours field of the timecode trigger of this cue.
timecode minutesget/setintegerThe minutes field of the timecode trigger of this cue.
timecode secondsget/setintegerThe seconds field of the timecode trigger of this cue.
timecode show as timecodeget/setbooleanTrue if the timecode trigger is shown as timecode; false if shown as real time.
timecode textget/settextText representation of the timecode trigger.
timecode triggerget/setenabled or disabledState of the timecode trigger checkbox.
uniqueIDgettextThe unique ID of this cue.
use q color 2get/setbooleanWhether this cue will use the second cue color after it starts.
wall clock hoursget/setintegerThe hours field of the wall clock trigger of this cue.
wall clock minutesget/setintegerThe minutes field of the wall clock trigger of this cue.
wall clock secondsget/setintegerThe seconds field of the wall clock trigger of this cue.
wall clock triggerget/setenabled or disabledState of the wall clock trigger checkbox.

Elements

ElementAccessKey FormsDescription
cueget/make/deleteby name, by index, by uniqueIDCues contained by this cue, if any.

Commands

The cue class responds to the following commands:

CommandDescription
audition previewAudition preview one or more cues. Previewing starts only the action of the cue, skipping any prewait and not continuing to other cues.
capture timecodeSet the cue's timecode trigger to the current incoming timecode received by its parent cue list.
hardStophardStop one or more cues or workspaces.
loadLoad one or more cues or workspaces to a given time.
panicPanic one or more cues or workspaces.
pausePause one or more cues or workspaces.
previewPreview one or more cues.
resetReset one or more cues or workspaces.
startStart one or more cues or workspaces.
stopStop one or more cues or workspaces.

Subclasses

All cue classes inherit the elements and properties of the cue class.

Where Used

The cue class is used in the following ways:


cue list

*(noun), pl. cue lists *

Properties

In addition to the properties listed here, cue list inherits properties from cue and from group cue.

PropertyAccessTypeDescription
current timecode textgettextThe timecode currently being received.
ltc sync channelget/setintegerAudio channel supplying an LTC sync signal.
mtc sync source nameget/settextName of the MIDI device supplying an MTC sync signal.
playback positionget/setcueThe playback position of a cue list is the cue which is standing by and which will start at the next GO.
playheadget/setcueSynonym for playback position.
smpte formatget/settimecode smpte formatThe SMPTE format of the incoming timecode.
sync modeget/setsync modeWhich type of incoming timecode this cue list listens for.
sync to timecodeget/setenabled or disabledState of the sync to timecode checkbox.
timecode start behaviorget/settimecode startHow cues in this list will behave when timecode starts.
timecode stop behaviorget/settimecode stopHow cues in this list will behave when timecode stops.

Elements

ElementAccessKey FormsDescription
cueget/make/deleteby name, by index, by uniqueIDCues contained by this cue list, if any.

Commands

The cue list class responds to the following commands:

CommandDescription
audition previewAudition preview one or more cues. Previewing starts only the action of the cue, skipping any prewait and not continuing to other cues.
capture timecodeSet the cue's timecode trigger to the current incoming timecode received by its parent cue list.
collapseCollapse the cue list in the sidebar.
expandExpand the cue list in the sidebar.
hardStophardStop one or more cues or workspaces.
loadLoad one or more cues or workspaces to a given time.
movePlayheadDownMove the playhead in the active cue list to the next cue.
movePlayheadDownASequenceMove the playhead in the active cue list to top of the next cue sequence.
movePlayheadUpMove the playhead in the active cue list to the previous cue.
movePlayheadUpASequnceMove the playhead in the active cue list to top of the previous cue sequence.
panicPanic one or more cues or workspaces.
pausePause one or more cues or workspaces.
previewPreview one or more cues.
resetReset one or more cues or workspaces.
startStart one or more cues or workspaces.
stopStop one or more cues or workspaces.

Superclass

The cue list class inherits elements and properties from the group cue class.

Where Used

The cue list class is used in the following ways:


devamp cue

*(noun), pl. devamp cues *

Properties

In addition to the properties listed here, devamp cue inherits properties from cue.

PropertyAccessTypeDescription
start next cue when slice endsget/setbooleanStart the next cue at the moment the target slice ends?
stop target when slice endsget/setbooleanStop the target at the moment the target slice ends?

Elements

ElementAccessKey FormsDescription
cueget/make/deleteby name, by index, by uniqueID

Commands

The devamp cue class responds to the following commands:

CommandDescription
audition previewAudition preview one or more cues. Previewing starts only the action of the cue, skipping any prewait and not continuing to other cues.
capture timecodeSet the cue's timecode trigger to the current incoming timecode received by its parent cue list.
hardStophardStop one or more cues or workspaces.
loadLoad one or more cues or workspaces to a given time.
panicPanic one or more cues or workspaces.
pausePause one or more cues or workspaces.
previewPreview one or more cues.
resetReset one or more cues or workspaces.
startStart one or more cues or workspaces.
stopStop one or more cues or workspaces.

Superclass

The devamp cue class inherits elements and properties from the cue class.


fade cue

*(noun), pl. fade cues *

Properties

In addition to the properties listed here, fade cue inherits properties from cue.

PropertyAccessTypeDescription
audio fade modeget/setabsolute or relativeSet absolute or relative mode for fading audio levels.
fade modeget/setabsolute or relativeDeprecated in QLab 5.0 - use audio fade mode instead.
do opacityget/setbooleanDoes this cue animate opacity?
do rotationget/setbooleanDoes this cue animate rotation?
do scaleget/setbooleanDoes this cue animate scale?
do translationget/setbooleanDoes this cue animate translation?
opacityget/setreal numberVideo opacity to fade to. 0 = 0%; 0.5 = 50%; 1 = 100%
patch target idget/settextThe patch this cue targets, if any.
preserve aspect ratioget/setbooleanDoes this cue preserve aspect ratio?
rotationget/setreal numberRotation in degrees when this cue's rotation type is set to a single-axis mode (modes 1, 2, or 3). When rotation type is 3D orientation (mode 0), this cannot be used to set and returns 0.0 when used to get.
rotation typeget/setinteger0 = 3D orientation
1 = X axis
2 = Y axis
3 = Z axis
scale xget/setreal numberX-axis scale to fade to.
scale yget/setreal numberY-axis scale to fade to.
stop target when doneget/setbooleanStop the target cue when this cue completes?
target modeget/settarget modesThe target mode of this cue.
video fade modeget/setabsolute or relativeSet absolute or relative mode for fading video geometry.

Elements

ElementAccessKey FormsDescription
cueget/make/deleteby name, by index, by uniqueID

Commands

The fade cue class responds to the following commands:

CommandDescription
audition previewAudition preview one or more cues. Previewing starts only the action of the cue, skipping any prewait and not continuing to other cues.
capture timecodeSet the cue's timecode trigger to the current incoming timecode received by its parent cue list.
getGangGet the gang for a specified location in the cue's matrix.
getLevelGet the level for a specified location in the cue's matrix.
hardStophardStop one or more cues or workspaces.
loadLoad one or more cues or workspaces to a given time.
panicPanic one or more cues or workspaces.
pausePause one or more cues or workspaces.
previewPreview one or more cues.
resetReset one or more cues or workspaces.
setGangSet the gang for a specified location in the cue's matrix.
setLevelSet the level for a specified location in the cue's matrix.
startStart one or more cues or workspaces.
stopStop one or more cues or workspaces.

Superclass

The fade cue class inherits elements and properties from the cue class.


group cue

*(noun), pl. group cues *

Properties

In addition to the properties listed here, group cue inherits properties from cue.

PropertyAccessTypeDescription
modeget/setgroup modesThe playback behavior of this group.
playlist crossfadeget/setbooleanDoes this playlist group crossfade between its child cues?
playlist crossfade durationget/setreal numberThe duration of the cue's playlist crossfade in seconds.
playlist loopget/setbooleanDoes this playlist group loop?
playlist shuffleget/setbooleanDoes this playlist group shuffle the order of its child cues?

Elements

ElementAccessKey FormsDescription
cueget/make/deleteby name, by index, by uniqueIDCues contained by this cue, if any.

Commands

The group cue class responds to the following commands:

CommandDescription
audition previewAudition preview one or more cues. Previewing starts only the action of the cue, skipping any prewait and not continuing to other cues.
capture timecodeSet the cue's timecode trigger to the current incoming timecode received by its parent cue list.
collapseCollapse the cue list in the cue list.
expandExpand the cue list in the cue list.
hardStophardStop one or more cues or workspaces.
loadLoad one or more cues or workspaces to a given time.
panicPanic one or more cues or workspaces.
pausePause one or more cues or workspaces.
previewPreview one or more cues.
resetReset one or more cues or workspaces.
shuffleShuffle the order of child cues in a group cue.
startStart one or more cues or workspaces.
stopStop one or more cues or workspaces.

Superclass

The group cue class inherits elements and properties from the cue class.

Subclasses

The cue list class inherits elements and properties from the group cue class.

Where Used

The group cue class is used in the following ways:

  • direct parameter to the collapse command.
  • direct parameter to the expand command.

light cue

*(noun), pl. light cues *

Properties

In addition to the properties listed here, light cue inherits properties from cue.

PropertyAccessTypeDescription
always collateget/setbooleanFlag for whether this cue should always collate the effects of previous light cues in the same list when it runs.
command textget/settextThe light command text of this cue.
subcontrollerget/setbooleanIs this cue used as a subcontroller in the Light Dashboard?

Elements

ElementAccessKey FormsDescription
cueget/make/deleteby name, by index, by uniqueID

Commands

The light cue class responds to the following commands:

CommandDescription
audition previewAudition preview one or more cues. Previewing starts only the action of the cue, skipping any prewait and not continuing to other cues.
capture timecodeSet the cue's timecode trigger to the current incoming timecode received by its parent cue list.
collateAndsStartCollate and start the light cue.
hardStophardStop one or more cues or workspaces.
loadLoad one or more cues or workspaces to a given time.
panicPanic one or more cues or workspaces.
pausePause one or more cues or workspaces.
previewPreview one or more cues.
pruneRemove light commands that have no effect from a light cue.
removeLightCommandsMatchingRemove existing light commands in the specified cue matching the command provided.
replaceLightCommandReplace a specified light command in the specified cue with a new light command.
resetReset one or more cues or workspaces.
setLightAdd a light command to the specified cue.
startStart one or more cues or workspaces.
stopStop one or more cues or workspaces.

Superclass

The light cue class inherits elements and properties from the cue class.

Where Used

The light cue class is used in the following ways:


light dashboard

(noun)

PropertyAccessTypeDescription
dashboard fade timeget/setreal numberThe duration in seconds over which the next light command entered will fade from current to new level(s). Resets to 0.0 after each use.
dashboard modeget/setlight dashboard view modeThe view mode of the Light Dashboard.
dashboard visibilityget/setbooleanIs the Light Dashboard currently visible?
propertiesget/setrecordAll of the Light Dashboard's properties.

Commands

The light dashboard class responds to the following commands:

CommandDescription
clearClear the levels in the light dashboard
newCueWithAllCreate a new Light cue containing levels for all parameters of all instruments.
newCueWithChangesCreate a new Light cue containing levels for all manually adjusted parameters in the light dashboard.
recordAllToLatestRecord all levels for all parameters of all instruments into the latest run Light cue.
recordAllToSelectedRecord all levels for all parameters of all instruments into the selected Light cue(s).
redoRedo the last undone action.
revertRevert changes in the light dashboard.
setLightadd a light command to the light dashboard.
undoUndo the last action.
updateLatestCueCopy all manually adjusted levels into the latest run Light cue.
updateOriginatingCuesCopy all manually adjusted levels into their originating Light cue(s).
updateSelectedCuesCopy all manually adjusted levels into the selected Light cue(s).

Where Used

The light dashboard class is used in the following ways:


load cue

*(noun), pl. load cues *

Properties

In addition to the properties listed here, load cue inherits properties from cue.

PropertyAccessTypeDescription
load timeget/setreal numberLoad target cue to this time.

Elements

ElementAccessKey FormsDescription
cueget/make/deleteby name, by index, by uniqueID

Commands

The load cue class responds to the following commands:

CommandDescription
audition previewAudition preview one or more cues. Previewing starts only the action of the cue, skipping any prewait and not continuing to other cues.
capture timecodeSet the cue's timecode trigger to the current incoming timecode received by its parent cue list.
hardStophardStop one or more cues or workspaces.
loadLoad one or more cues or workspaces to a given time.
panicPanic one or more cues or workspaces.
pausePause one or more cues or workspaces.
previewPreview one or more cues.
resetReset one or more cues or workspaces.
startStart one or more cues or workspaces.
stopStop one or more cues or workspaces.

Superclass

The load cue class inherits elements and properties from the cue class.


mic cue

*(noun), pl. mic cues *

Properties

In addition to the properties listed here, mic cue inherits properties from cue.

PropertyAccessTypeDescription
audio input channelsgetintegerThe number of audio input channels for this cue.
audio input patch nameget/settextThe name of this cue's audio input patch. none means "unpatched."
audio input patch numberget/setintegerThe 1-indexed number of this cue's audio input patch. 0 equals "unpatched."
audio input patch idget/settextThe unique ID of this cue's audio input patch. Empty string or none equals "unpatched."
audio output patch nameget/settextThe name of this cue's audio output patch. none means "unpatched."
audio output patch numberget/setintegerThe 1-indexed number of this cue's audio output patch. 0 means "unpatched."
audio output patch idget/settextThe unique ID of this cue's audio output patch. Empty string or none equals "unpatched."
patchget/setintegerThe 1-indexed number of this cue's audio output patch. Deprecated in QLab 5.0 - use audio input patch number or audio output patch number instead.

Elements

ElementAccessKey FormsDescription
cueget/make/deleteby name, by index, by uniqueID

Commands

The mic cue class responds to the following commands:

CommandDescription
audition previewAudition preview one or more cues. Previewing starts only the action of the cue, skipping any prewait and not continuing to other cues.
capture timecodeSet the cue's timecode trigger to the current incoming timecode received by its parent cue list.
getGangGet the gang for a specified location in the cue's matrix.
getInputChannelNameGet the input name for a specified row in the cue's matrix.
getLevelGet the level for a specified location in the cue's matrix.
getMuteGet the status of the mute button of a specified output.
getSoloGet the status of the solo button of a specified output.
hardStophardStop one or more cues or workspaces.
loadLoad one or more cues or workspaces to a given time.
panicPanic one or more cues or workspaces.
pausePause one or more cues or workspaces.
previewPreview one or more cues.
resetReset one or more cues or workspaces.
setGangSet the gang for a specified location in the cue's matrix.
setInputChannelNameSet the intput name for a specified row in the cue's matrix.
setLevelSet the level for a specified location in the cue's matrix.
setMuteSet the status of the mute button of a specified output.
setSoloSet the status of the solo button of a specified output.
startStart one or more cues or workspaces.
stopStop one or more cues or workspaces.

Superclass

The mic cue class inherits elements and properties from the cue class.


midi cue

*(noun), pl. midi cues *

Properties

In addition to the properties listed here, midi cue inherits properties from cue.

PropertyAccessTypeDescription
byte comboget/setinteger(MIDI voice message type) Value when first and second bytes of the MIDI message are interpreted as parts of one number. Used for pitch bend messages.
byte oneget/setinteger(MIDI voice message type) First byte of the MIDI message.
byte twoget/setinteger(MIDI voice message type) Second byte of the MIDI message.
channelget/setinteger(MIDI voice message type) MIDI channel number.
commandget/setmidi command(MIDI voice message type) MIDI command.
command formatget/setinteger(MSC message type) MSC command format.
command numberget/setinteger(MSC message type) MSC command.
control numberget/setinteger(MSC message type) MSC control number.
control valueget/setinteger(MSC message type) MSC control value.
deviceIDget/setinteger(MSC message type) MSC device ID number.
end valueget/setinteger(MIDI voice message type) The end value for a faded MIDI message.
fadeget/setboolean(MIDI voice message type) Does the MIDI message fade?
macroget/setinteger(MSC message type) MSC macro parameter.
message typeget/setmidi typeThe type of MIDI message for this cue (msd, sysex, or voice.)
midi patch idget/settextThe unique ID of this cue's MIDI patch. Empty string or none means "unpatched."
midi patch nameget/settextThe name of this cue's MIDI patch. none means "unpatched."
midi patch numberget/setintegerThe 1-indexed number of this cue's MIDI patch. 0 means "unpatched."
msc framesget/setinteger(MSC message type) MSC frames parameter.
msc hoursget/setinteger(MSC message type) MSC hours parameter.
msc minutesget/setinteger(MSC message type) MSC minutes parameter.
msc secondsget/setinteger(MSC message type) MSC seconds parameter.
msc subframesget/setinteger(MSC message type) MSC subframes parameter.
patchget/setintegerThe 1-indexed number of this cue's MIDI patch. Deprecated in QLab 5.0 - use midi patch number instead.
q_listget/settext(MSC message type) Q List message parameter.
q_numberget/settext(MSC message type) Q Number message parameter.
q_pathget/settext(MSC message type) Q Path message parameter.
send time with setget/setboolean(MSC message type) Send the timecode parameters with the SET command?
smpte formatget/setsmpte format(MSC message type) SMPTE format of the timecode parameters.
start valueget/setinteger(MIDI voice message type) The start value for a faded MIDI message.
sysex messageget/settext(SysEx message type) The raw SysEx message. Use only hexadecimal characters and whitespace. Omit the starting F0 and the ending F7.

Elements

ElementAccessKey FormsDescription
cueget/make/deleteby name, by index, by uniqueID

Commands

The midi cue class responds to the following commands:

CommandDescription
audition previewAudition preview one or more cues. Previewing starts only the action of the cue, skipping any prewait and not continuing to other cues.
capture timecodeSet the cue's timecode trigger to the current incoming timecode received by its parent cue list.
hardStophardStop one or more cues or workspaces.
loadLoad one or more cues or workspaces to a given time.
panicPanic one or more cues or workspaces.
pausePause one or more cues or workspaces.
previewPreview one or more cues.
resetReset one or more cues or workspaces.
startStart one or more cues or workspaces.
stopStop one or more cues or workspaces.

Superclass

The midi cue class inherits elements and properties from the cue class.


midi file cue

*(noun), pl. midi file cues *

Properties

In addition to the properties listed here, midi file cue inherits properties from cue.

PropertyAccessTypeDescription
midi patch nameget/settextThe name of this cue's MIDI patch. none means "unpatched."
midi patch numberget/setintegerThe 1-indexed number of this cue's MIDI patch. 0 means "unpatched."
midi patch idget/settextThe unique ID of this cue's MIDI patch. Empty string or none means "unpatched."
patchget/setintegerThe 1-indexed number of this cue's MIDI patch. Deprecated in QLab 5.0 - use midi patch number instead.
rateget/setreal numberPlayback rate of the MIDI file.

Elements

ElementAccessKey FormsDescription
cueget/make/deleteby name, by index, by uniqueID

Commands

The midi file cue class responds to the following commands:

CommandDescription
audition previewAudition preview one or more cues. Previewing starts only the action of the cue, skipping any prewait and not continuing to other cues.
capture timecodeSet the cue's timecode trigger to the current incoming timecode received by its parent cue list.
hardStophardStop one or more cues or workspaces.
loadLoad one or more cues or workspaces to a given time.
panicPanic one or more cues or workspaces.
pausePause one or more cues or workspaces.
previewPreview one or more cues.
resetReset one or more cues or workspaces.
startStart one or more cues or workspaces.
stopStop one or more cues or workspaces.

Superclass

The midi file cue class inherits elements and properties from the cue class.


network cue

*(noun), pl. network cues *

Properties

In addition to the properties listed here, network cue inherits properties from cue.

PropertyAccessTypeDescription
custom messageget/settextThe custom OSC message, for custom type messages. Deprecated in QLab 5.0 - use parameter values instead.)
fade entriesget/setlist of textThe list of {x,y} coordinates representing entries which define the shape (1D) or path (2D) of the current fade.
fade fpsget/setintegerThe rate in frames per second in which fade values are sent. Must be a positive integer between 1 and 120.
fade fromget/setreal numberThe starting value for a 1D fade.
fade number typeget/setintegerWhether the fade sends integer (0) or float (1) values.
fade path heightget/setreal numberThe maximum Y value for the grid displayed in the inspector for a 2D fade. Must not be a negative number.
fade path widthget/setreal numberThe maximum X value for the grid displayed in the inspector for a 2D fade. Must not be a negative number.
fade toget/setreal numberThe ending value for a 1D fade.
fade typeget/setinteger0 = no fade/resend
1 = 1D fade
2 = 2D fade
Writeable only for string type parameters.
network patch nameget/settextThe name of this cue's Network patch. none means "unpatched."
network patch numberget/setintegerThe 1-indexed number of this cue's Network patch. 0 means "unpatched."
network patch idget/settextThe unique ID of this cue's Network patch. Empty string or none means "unpatched."
parameter fades enabledget/setlist of booleanThe list of boolean values that represent the fade-enabled states of all fade-able parameters in this Network cue.
parameter valuesget/setlist of text, boolean, or numberThe list of parameter values used to configure the current command.
patchget/setintegerThe 1-indexed number of this cue's Network patch. Deprecated in QLab 5.0 - use network patch number instead.

Elements

ElementAccessKey FormsDescription
cueget/make/deleteby name, by index, by uniqueID

Commands

The network cue class responds to the following commands:

CommandDescription
audition previewAudition preview one or more cues. Previewing starts only the action of the cue, skipping any prewait and not continuing to other cues.
capture timecodeSet the cue's timecode trigger to the current incoming timecode received by its parent cue list.
hardStophardStop one or more cues or workspaces.
loadLoad one or more cues or workspaces to a given time.
panicPanic one or more cues or workspaces.
pausePause one or more cues or workspaces.
previewPreview one or more cues.
resetReset one or more cues or workspaces.
startStart one or more cues or workspaces.
stopStop one or more cues or workspaces.

Superclass

The network cue class inherits elements and properties from the cue class.


override controller

(noun)

Properties

PropertyAccessTypeDescription
dmx output enabledget/setbooleanAllow DMX output (default is TRUE.)
midi input enabledget/setbooleanAllow MIDI Voice input (default is TRUE.)
midi output enabledget/setbooleanAllow MIDI Voice output (default is TRUE.)
msc input enabledget/setbooleanAllow MSC input (default is TRUE.)
msc output enabledget/setbooleanAllow MSC output (default is TRUE.)
network external input enabledget/setbooleanAllow external network input (default is TRUE.)
network external output enabledget/setbooleanAllow external network output (default is TRUE.)
network local input enabledget/setbooleanAllow local network input (default is TRUE.)
network local output enabledget/setbooleanAllow local network output (default is TRUE.)
osc input enabledget/setbooleanAllow OSC input (default is TRUE.)
osc output enabledget/setbooleanAllow OSC output (default is TRUE.)
overrides visibilityget/setbooleanIs the Overrides Controls window visible?
sysex input enabledget/setbooleanAllow SysEx (other than MSC and MTC) input (default is TRUE.)
sysex output enabledget/setbooleanAllow SysEx (other than MSC and MTC) output (default is TRUE.)
timecode input enabledget/setbooleanAllow timecode input (default is TRUE.)
timecode output enabledget/setbooleanAllow timecode output (default is TRUE.)

Where Used

The override controller class is used in the following ways:

  • overrides property of the application class.

Examples

applescript
-- override MIDI output (i.e. "don't output any MIDI")
tell application id "com.figure53.QLab.5"
  tell overrides to set midi output enabled to false
end tell
applescript
-- open the override controls window
tell application "QLab" to tell overrides to set overrides visibility to true

reset cue

*(noun), pl. reset cues *

Properties

In addition to the properties listed here, reset cue inherits properties from cue.

PropertyAccessTypeDescription
patch target idget/settextThe patch this cue targets, if any.
target modeget/settarget modesThe target mode of this cue.

Elements

ElementAccessKey FormsDescription
cueget/make/deleteby name, by index, by uniqueID

Commands

The devamp cue class responds to the following commands:

CommandDescription
audition previewAudition preview one or more cues. Previewing starts only the action of the cue, skipping any prewait and not continuing to other cues.
capture timecodeSet the cue's timecode trigger to the current incoming timecode received by its parent cue list.
compileVerify and prepare the script for use.
hardStophardStop one or more cues or workspaces.
loadLoad one or more cues or workspaces to a given time.
panicPanic one or more cues or workspaces.
pausePause one or more cues or workspaces.
previewPreview one or more cues.
resetReset one or more cues or workspaces.
startStart one or more cues or workspaces.
stopStop one or more cues or workspaces.

Superclass

The devamp cue class inherits elements and properties from the cue class.


script cue

*(noun), pl. script cues *

Properties

In addition to the properties listed here, script cue inherits properties from cue.

PropertyAccessTypeDescription
script sourceget/settextAppleScript source for the cue. The script will be recompiled when set.

Elements

ElementAccessKey FormsDescription
cueget/make/deleteby name, by index, by uniqueID

Commands

The script cue class responds to the following commands:

CommandDescription
audition previewAudition preview one or more cues. Previewing starts only the action of the cue, skipping any prewait and not continuing to other cues.
capture timecodeSet the cue's timecode trigger to the current incoming timecode received by its parent cue list.
compileVerify and prepare the script for use.
hardStophardStop one or more cues or workspaces.
loadLoad one or more cues or workspaces to a given time.
panicPanic one or more cues or workspaces.
pausePause one or more cues or workspaces.
previewPreview one or more cues.
resetReset one or more cues or workspaces.
startStart one or more cues or workspaces.
stopStop one or more cues or workspaces.

Superclass

The script cue class inherits elements and properties from the cue class.

Where Used

The script cue class is used in the following ways:

  • direct parameter to the compile command.

target cue

*(noun), pl. target cues *

Properties

In addition to the properties listed here, target cue inherits properties from cue.

PropertyAccessTypeDescription
assigned numberget/settextThe cue number of the cue to assign. The cue with this number will be assigned as the new target of the cue which this cue targets.

Elements

ElementAccessKey FormsDescription
cueget/make/deleteby name, by index, by uniqueID

Commands

The target cue class responds to the following commands:

CommandDescription
audition previewAudition preview one or more cues. Previewing starts only the action of the cue, skipping any prewait and not continuing to other cues.
capture timecodeSet the cue's timecode trigger to the current incoming timecode received by its parent cue list.
hardStophardStop one or more cues or workspaces.
loadLoad one or more cues or workspaces to a given time.
panicPanic one or more cues or workspaces.
pausePause one or more cues or workspaces.
previewPreview one or more cues.
resetReset one or more cues or workspaces.
startStart one or more cues or workspaces.
stopStop one or more cues or workspaces.

Superclass

The target cue class inherits elements and properties from the cue class.


text cue

*(noun), pl. text cues *

Properties

In addition to the properties listed here, text cue inherits properties from cue.

PropertyAccessTypeDescription
anchor xget/setreal numberAnchor along the x axis.
anchor yget/setreal numberAnchor along the y axis.
blend modeget/settextDisplay name of the video blend mode.
fill stageget/setbooleanIs the cue displaying in fill stage mode?
fill styleget/setfill stylesHow does the cue fill the stage?
full screenget/setbooleanIs the cue displaying in full-stage mode? Deprecated in QLab 5.0 - use 'fill stage' instead.
full surfaceget/setbooleanIs the cue displaying in full-stage mode? Deprecated in QLab 5.0 - use 'fill stage' instead.
fixed widthget/setnumberFixed width of the text cue. Setting this to 0 specifies "auto" width.
layerget/setintegerThe display layer of this cue. 0 is the bottom layer; 1000 is the top layer.
live textget/settextLive text of this cue. Setting this does not mark the workspace as edited.
live text alignmentget/settextText alignment of the live text of this cue. Possible values are "left", "center", "right", and "justify". Setting this does not mark the workspace as edited.
live text formatget/setlist of text format recordThe list of text formats in the live text of this cue. Setting this does not mark the workspace as edited.
live text output sizegetlist of numberA 2-item list representing the width and height of the live text of this cue.
opacityget/setreal numberThe opacity of this cue. 0 = 0%; 0.5 = 50%; 1 = 100%
preserve aspect ratioget/setbooleanDoes this cue preserve aspect ratio?
scale xget/setreal numberThe X-axis scale of this cue.
scale yget/setreal numberThe Y-axis scale of this cue.
smoothget/setShould the cue be scaled using smoothing interpolation?
stage nameget/settextVideo output stage name. Empty string or none means "unpatched."
stage numberget/setintegerVideo output stage number. 0 means "unpatched."
stage idget/settextVideo output stage unique ID. Empty string or none means "unpatched."
textget/settextText of this cue.
text alignmentget/settextText alignment of this cue. Possible values are "left", "center", "right", and "justify".
text formatget/setlist of text format recordThe list of text formats in the text of this cue.
text output sizegetlist of numberA 2-item list representing the width and height of the text of this cue.
translation xget/setreal numberThe X-axis translation (position) of this cue.
translation yget/setreal numberThe Y-axis translation (position) of this cue.

Elements

ElementAccessKey FormsDescription
cueget/make/deleteby name, by index, by uniqueID

Commands

The text cue class responds to the following commands:

CommandDescription
audition previewAudition preview one or more cues. Previewing starts only the action of the cue, skipping any prewait and not continuing to other cues.
capture timecodeSet the cue's timecode trigger to the current incoming timecode received by its parent cue list.
hardStophardStop one or more cues or workspaces.
loadLoad one or more cues or workspaces to a given time.
panicPanic one or more cues or workspaces.
pausePause one or more cues or workspaces.
previewPreview one or more cues.
resetReset one or more cues or workspaces.
startStart one or more cues or workspaces.
stopStop one or more cues or workspaces.

Superclass

The text cue class inherits elements and properties from the cue class.


timecode cue

*(noun), pl. timecode cues *

Properties

In addition to the properties listed here, timecode cue inherits properties from cue.

PropertyAccessTypeDescription
audio output patch nameget/settext(For cues in LTC mode.) The name of this cue's audio output patch. none means "unpatched."
audio output patch numberget/setinteger(For cues in LTC mode.) The 1-indexed number of this cue's audio output patch. 0 means "unpatched."
audio output patch idget/settext(For cues in LTC mode.) The unique ID of this cue's audio output patch. Empty string or none means "unpatched."
midi patch nameget/settext(For cues in MTC mode.) The name of this cue's MIDI patch. none means "unpatched."
midi patch numberget/setinteger(For cues in MTC mode.) The 1-indexed number of this cue's MIDI patch. 0 means "unpatched."
midi patch idget/settext(For cues in MTC mode.) The unique ID of this cue's MIDI patch. Empty string or none means "unpatched."
patchget/setinteger(For cues in LTC mode.) The 1-indexed number of this cue's audio output patch. Deprecated in QLab 5.0 - use audio output patch number instead.
patchget/setinteger(For cues in MTC mode.) The 1-indexed number of this cue's MIDI patch. Deprecated in QLab 5.0 - use midi patch number instead.
smpte formatget/setsmpte formatSMPTE format of the outgoing timecode.
start time offsetget/setreal numberTime in seconds where the timecode clock begins counting.
timecode end timeget/settextThe timecode clock end time.
timecode start timeget/settextThe timecode clock start time.
typeget/setmtc or ltcThe type of timecode used by this cue.

Elements

ElementAccessKey FormsDescription
cueget/make/deleteby name, by index, by uniqueID

Commands

The timecode cue class responds to the following commands:

CommandDescription
audition previewAudition preview one or more cues. Previewing starts only the action of the cue, skipping any prewait and not continuing to other cues.
capture timecodeSet the cue's timecode trigger to the current incoming timecode received by its parent cue list.
hardStophardStop one or more cues or workspaces.
loadLoad one or more cues or workspaces to a given time.
panicPanic one or more cues or workspaces.
pausePause one or more cues or workspaces.
previewPreview one or more cues.
resetReset one or more cues or workspaces.
startStart one or more cues or workspaces.
stopStop one or more cues or workspaces.

Superclass

The timecode cue class inherits elements and properties from the cue class.


video cue

*(noun), pl. video cues *

Properties

In addition to the properties listed here, video cue inherits properties from cue.

PropertyAccessTypeDescription
anchor xget/setreal numberAnchor along the x axis.
anchor yget/setreal numberAnchor along the y axis.
audio input channelsgetintegerThe number of audio input channels for this cue (i.e. the number of distinct channels in the target audio file.)
audio output patch nameget/settextThe name of this cue's audio output patch. none means "unpatched."
audio output patch numberget/setintegerThe 1-indexed number of this cue's audio output patch. 0 means "unpatched."
audio output patch idget/settextThe unique ID of this cue's audio output patch. Empty string or none means "unpatched."
blend modeget/settextDisplay name of the video blend mode.
clock typeget/setaudio or videoThe clock type of the cue.
end timeget/setreal numberTime in the target file where playback ends.
fill stageget/setbooleanIs the cue displaying in fill stage mode?
fill styleget/setfill stylesHow does the cue fill the stage?
full screenget/setbooleanIs the cue displaying in full-stage mode? Deprecated in QLab 5.0 - use 'fill stage' instead.
full surfaceget/setbooleanIs the cue displaying in full-stage mode? Deprecated in QLab 5.0 - use 'fill stage' instead.
hold at endget/setbooleanShould the final frame of the video be left visible when playback reaches the end of the file?
infinite loopget/setbooleanDoes this cue loop infinitely?
integrated fadeget/setenabled or disabledState of the integrated fade checkbox.
last slice infinite loopget/setbooleanDoes the last slice of this cue loop infinitely?
last slice play countget/setintegerNumber of times the last slice of this cue plays. Always >= 1.
layerget/setintegerThe display layer of this cue. 0 is the bottom layer; 1000 is the top layer.
lock fade to cueget/setenabled or disabledState of the lock fade to start/end checkbox.
opacityget/setreal numberThe opacity of this cue. 0 = 0%; 0.5 = 50%; 1 = 100%
patchget/setintegerThe 1-indexed number of this cue's audio output patch. Deprecated in QLab 5.0 - use audio output patch number instead.
play countget/setbooleanNumber of times this cue plays. Always >= 1.
preserve aspect ratioget/setbooleanDoes this cue preserve aspect ratio?
preserve pitchget/setenabled or disabledState of the preserve pitch checkbox.
rateget/setreal numberPlayback rate of this cue.
scale xget/setreal numberThe X-axis scale of this cue.
scale yget/setreal numberThe Y-axis scale of this cue.
slice markersget/setlist of slice marker recordList of slice markers in this cue.
smoothget/setShould the cue be scaled using smoothing interpolation?
stage nameget/settextVideo output stage name. Empty string or none means "unpatched."
stage numberget/setintegerVideo output stage number. 0 means "unpatched."
stage idget/settextVideo output stage unique ID. Empty string or none means "unpatched."
start timeget/setreal numberTime in the target file where playback begins.
translation xget/setreal numberThe X-axis translation (position) of this cue.
translation yget/setreal numberThe Y-axis translation (position) of this cue.

Elements

ElementAccessKey FormsDescription
cueget/make/deleteby name, by index, by uniqueID

Commands

The video cue class responds to the following commands:

CommandDescription
audition previewAudition preview one or more cues. Previewing starts only the action of the cue, skipping any prewait and not continuing to other cues.
capture timecodeSet the cue's timecode trigger to the current incoming timecode received by its parent cue list.
getGangGet the gang for a specified location in the cue's matrix.
getInputChannelNameGet the input name for a specified row in the cue's matrix.
getLevelGet the level for a specified location in the cue's matrix.
getMuteGet the status of the mute button of a specified output.
getSoloGet the status of the solo button of a specified output.
hardStophardStop one or more cues or workspaces.
loadLoad one or more cues or workspaces to a given time.
panicPanic one or more cues or workspaces.
pausePause one or more cues or workspaces.
previewPreview one or more cues.
resetReset one or more cues or workspaces.
setGangSet the gang for a specified location in the cue's matrix.
setInputChannelNameSet the intput name for a specified row in the cue's matrix.
setLevelSet the level for a specified location in the cue's matrix.
setMuteSet the status of the mute button of a specified output.
setSoloSet the status of the solo button of a specified output.
startStart one or more cues or workspaces.
stopStop one or more cues or workspaces.

Superclass

The video cue class inherits elements and properties from the cue class.


workspace

*(noun), pl. workspaces *

Properties

PropertyAccessTypeDescription
active cuesgetlist of cueThe list of active cues (running or paused) in this workspace.
always auditionget/setbooleanIs the workspace currently set to always audition?
current cue listget/setcue listThe cue list that's currently visible in the main window of the workspace.
current light dashboardgetlight dashboardThe current Light Dashboard for the workspace.
edit modeget/setbooleanIs the workspace currently in edit mode?
inspector visibilityget/setbooleanIs the inspector visible?
live fade previewget/setbooleanIs live fade preview currently enabled for this workspace?
selectedget/setlist of cueThe currently selected cue(s) in the current cue list.
show modeget/setbooleanIs the workspace currently in show mode?
unique idgettextThe unique ID of the workspace.

Elements

ElementAccessKey FormsDescription
cuegetby name, by unique idThe complete list of cues in this workspace.
cue listget/make/deleteby name, by index, by unique idThe list of cue lists in the workspace.

Commands

The workspace class responds to the following commands:

CommandDescription
audition goMake a workspace Audition GO.
goMake a workspace GO.
hardStophardStop one or more cues or workspaces.
loadLoad one or more cues or workspaces to a given time.
makeCreate a new cue.
movePlayheadDownMove the playhead in the active cue list to the next cue.
movePlayheadDownASequenceMove the playhead in the active cue list to top of the next cue sequence.
movePlayheadUpMove the playhead in the active cue list to the previous cue.
movePlayheadUpASequnceMove the playhead in the active cue list to top of the previous cue sequence.
moveSelectionDownSelect the next cue.
moveSelectionUpSelect the previous cue.
panicPanic one or more cues or workspaces.
pausePause one or more cues or workspaces.
redoRedo the last undone action.
resetReset one or more cues or workspaces.
startStart one or more cues or workspaces.
stopStop one or more cues or workspaces.
undoUndo the last action.

Where Used

The workspace class is used in the following ways:

  • element of application class.
  • direct parameter to the make command.

Enumerations


absolute relative

Constants

ConstantDescription
absolute
relative

Where Used

The absolute relative enumeration is used in the following ways:

  • audio fade mode property of the fade cue class.
  • fade mode property of the fade cue class.
  • video fade mode property of the fade cue class.

clock types

Constants

ConstantDescription
audio
video

Where Used

The clock types enumeration is used in the following ways:

  • clock type property of the video cue class.

continue modes

Constants

ConstantDescription
auto_continueAutomatically continue to the next cue after completing the post-wait.
auto_followAutomatically continue to the next cue after completing the action of the cue.
do_not_continueDo not automatically continue to the next cue.

Where Used

The continue modes enumeration is used in the following ways:

  • continue mode property of the cue class.

enabled disabled

Constants

ConstantDescription
disabled
enabled

Where Used

The enabled disabled enumeration is used in the following ways:

  • duck others property of the cue class.
  • fade property of the midi cue class.
  • hotkey trigger property of the cue class.
  • integrated fade property of the audio cue class.
  • integrated fade property of the video cue class.
  • lock fade to cue property of the audio cue class.
  • lock fade to cue property of the video cue class.
  • midi trigger property of the cue class.
  • preserve pitch property of the audio cue class.
  • preserve pitch property of the video cue class.
  • second trigger on release property of the cue class.
  • sync to timecode property of the cue list class.
  • timecode trigger property of the cue class.
  • wall clock trigger property of the cue class.

fill styles

Constants

ConstantDescription
fillFill the entire stage with the cue, preserving aspect ratio. Some portion of the cue may be cut off.
fitFit the cue inside the stage, preserving aspect ratio. Some empty space may be left to the sides or top and bottom of the cue.
stretchFill the stage by stretching the cue height and width to match the stage.

Where Used

The fill styles enumeration is used in the following ways:


group modes

Constants

ConstantDescription
cue_listThe group is a cue list.
playlistPlaylist - one cue at a time.
start_firstStart first child and go to next cue.
start_first_and_enterStart first child and enter into group.
start_randomStart a random child and then go to the next cue.
timelineTimeline - start all children simultaneously.

Where Used

The group modes enumeration is used in the following ways:


light dashboard view mode

Constants

ConstantDescription
sliders
tiles

Where Used

The light dashboard view mode enumeration is used in the following ways:


midi command

Constants

ConstantDescription
channel_pressure
control_change
key_pressurea.k.a. aftertouch
note_off
note_on
pitch_benda.k.a. pitch wheel
program_change

Where Used

The midi command enumeration is used in the following ways:

  • command property of the midi cue class.
  • midi command property of the cue class.

midi type

Constants

ConstantDescription
mscMIDI Show Control message.
sysexMIDI System Exclusive message.
voiceMIDI Voice message.

Where Used

The midi type enumeration is used in the following ways:

  • message type property of the midi cue class.

mtc ltc

Constants

ConstantDescription
ltcLinear/Longitudinal Timecode.
mtcMIDI Timecode.

Where Used

The mtc ltc enumeration is used in the following ways:

  • sync mode property of the cue list class.

smpte format

Constants

ConstantDescription
fps_2424 frames per second.
fps_2525 frames per second.
fps_30_drop30 frames per second, drop frame.
fps_30_non_drop30 frames per second, non-drop frame.

Where Used

The smpte format enumeration is used in the following ways:


target modes

Constants

ConstantDescription
target mode cue
target mode patch

Where Used

The target modes enumeration is used in the following ways:

  • target mode property of the fade cue class.
  • target mode property of the reset cue class.

timecode smpte format

Constants

ConstantDescription
fps_23_97623.976 frames per second.
fps_2424 frames per second.
fps_24_97524.975 frames per second.
fps_2525 frames per second.
fps_29_9729.97 frames per second, drop frame.
fps_29_97_non_drop29.97 frames per second, non-drop frame.
fps_30_drop30 frames per second, drop frame.
fps_30_non_drop30 frames per second, non-drop frame.

Where Used

The timecode smpte format enumeration is used in the following ways:

  • smpte format property of the cue list class.

timecode start

Constants

ConstantDescription
lookback timestart cues whose timecode triggers precede the incoming timecode by the lookback window.
recent hourstart cues whose timecode triggers fall within the most recent hour of incoming timecode.
recent minutestart cues whose timecode triggers fall within the most recent minute of incoming timecode.
skipdo not start cues whose timecode triggers precede the incoming timecode.
start allstart all cues whose timecode triggers precede the incoming timecode.

Where Used

The timecode start enumeration is used in the following ways:

  • timecode start behavior property of the cue list class.

timecode stop

Constants

ConstantDescription
hard pausehard pause timecode triggered cues when incoming timecode stops.
hard stophard stop timecode triggered cues when incoming timecode stops.
nonedo nothing when incoming timecode stops.

Where Used

The timecode stop enumeration is used in the following ways:

  • timecode stop behavior property of the cue list class.

Records


range record

A 2-item record representing the offset and length of a substring.

Properties

PropertyAccessTypeDescription
rangeLengthget/setinteger or textThe length of the substring range.
rangeOffsetget/setinteger or textThe 1-indexed location of the starting character of a substring range.

Where Used

The range record is used in the following ways:


rgba color record

A 4-item record representing red, green, blue, and alpha percentage values of a color.

Properties

PropertyAccessTypeDescription
redget/setreal number
greenget/setreal number
blueget/setreal number
alphaget/setreal number

Where Used

The rgba color record record is used in the following ways:

Examples

This script will set the color of all the text in cue 2 to a nice purple-y color:

applescript
tell application id "com.figure53.QLab.5" to tell front workspace
  set aNiceColor to {rgbaColor:{red:0.5, green:0.2, blue:0.6, alpha:1}}
  set text format of cue "2" to aNiceColor
end tell

This script will set the color of the underline of all the text in cue 2 to primary blue:

applescript
tell application id "com.figure53.QLab.5" to tell front workspace
  set aNiceColor to {underlineRgbaColor:{red:0, green:0, blue:1, alpha:1}}
  set text format of cue "2" to aNiceColor
end tell

row column record

A 2-item record representing a position defined by a numeric row and column value.

Properties

PropertyAccessTypeDescription
columnget/setinteger
rowget/setinteger

Where Used

The row column record is used in the following ways:

  • cart position property of the cue class.

size record

A 2-item record representing width and height values.

Properties

PropertyAccessTypeDescription
heightget/setreal number
widthget/setreal number

Where Used

The slice marker record record is used in the following ways:


slice marker record

A 2-item record representing the play count and end time of a slice.

Properties

PropertyAccessTypeDescription
playCountget/setintegerThe number of times a slice will play. Play count -1 = infinite loop.
timeget/setreal numberThe end time of a slice.

Where Used

The slice marker record record is used in the following ways:

  • slice markers property of the audio cue class.
  • slice markers property of the video cue class.

text format record

A record representing the formatting aspects of a text string.

Properties

PropertyAccessTypeDescription
backgroundRgbaColorget/setrgba color recordAn RGBA color record representing the percentage values for the red, green, blue, and alpha components of the background color of this format.
fontFamilyget/settextThe font family for this format. (e.g. "Helvetica", "Courier New")
fontNameget/settextThe font name for this format. (e.g. "CourierNewPS-BoldItalicMT")
fontSizeget/setrealThe font size for this format.
fontStyleget/settextThe font style (face) for this format. (e.g. "Regular", "Light Oblique")
lineSpacingget/setreal numberThe line spacing for this format.
rangeget/setrange recordA range record representing the index and length for the substring that has this format.
rgbaColorget/setrgba color recordAn RGBA color record representing the percentage values for the red, green, blue, and alpha components of the text color of this format.
shadowBlurRadiusget/setreal numberThe shadow blur radius for this format.
shadowOffsetget/setsize recordA size record representing the width and height components of the shadow offset of this format.
shadowRgbaColorget/setrgba color recordAn RGBA color record representing the percentage values for the red, green, blue, and alpha components of the shadow color of this format.
strikethroughRgbaColorget/setrgba color recordAn RGBA color record representing the percentage values for the red, green, blue, and alpha components of the strikethrough color of this format.
strikethroughStyleget/settextThe strikethrough style of this format. Possible values are "none", "single", and "double".
underlineRgbaColorget/setrgba color recordAn RGBA color record representing the percentage values for the red, green, blue, and alpha components of the underline color of this format.
underlineStyleget/settextThe underline style of this format. Possible values are "none", "single", and "double".
wordIndexget/setintegerAn optional 1-indexed word number to which this format should be applied. When used, the "range" property will be ignored. (setting only)

Where Used

The text format record record is used in the following ways:

  • live text format property of the text cue class.
  • text format property of the text cue class.

Still have a question?

Our support team is always happy to help.

Business Hours
M-F 9am-7pm (ET)
Current time at our headquarters