An action is a method a macro script can call. This page lists every action available for configuration, its parameters and their types, and which CE version introduced it.
Actions are called on one of two things:
| Called on | What it looks like |
|---|---|
| A manager, affecting the room as a whole | audio.SetAudioMute("program.audio.1", true) where audio is the manager’s binding, shown beside each manager’s name below |
| A device, affecting whichever device the macro action’s Device ID points at | device.SetPowerOn() |
The parameters for each action must all be present and in the order shown. Two or more actions can share the same name but take a different number of parameters.
- A binding is the name a macro script uses to call a manager or device:
audioinaudio.SetAudioMute(...). Visibility conditions use the binding too. - A guid is the name an event trigger uses to reference the same manager or device:
audio.manager. - This page lists each action’s binding and Available States lists each state’s guid. Use each exactly as listed.
Manager Actions
Room-wide operations. Each manager’s binding, the name a script calls it by, is shown beside its title.
Room Controller binding: "room"
| Signature | Description | Since |
|---|---|---|
SetRoomMode(mode: string) | Switches the room to the given Room Mode and publishes room.RoomMode.
| 2.0.0 |
SetSourceSelect(sourceId: string, destinationType: string) | Routes an AV Source to the given Destination Type, or to every Destination Type when "All" is passed; a Condition configured on the AV Source can veto the route.
| 2.0.0 |
SetDestinationGroupSourceSelect(destinationGroupId: string, sourceId: string) | Routes an AV Source to every destination in a Destination Group, addressed by the group's ID.
| 2.7.4 |
SetPreview(sourceId: string) | Routes an AV Source to every preview monitor configured under AV Destinations / Preview. | 2.0.0 |
SetMainVolume(volume: integer) | Sets every visible Program Audio fader to the given level (0-100): the room's main volume control.
| 2.0.0 |
Toggle(toggleId: string) | Flips the named toggle and publishes the new value under room.ToggleStates.
| 2.7.4 |
TriggerMacro(macroId: string) | Runs another macro's actions immediately, ignoring that macro's triggers.
| 2.4.0 |
SetDestGroupSourceIfPrimary(destGroupId: string, sourceId: string) | Performs SetDestinationGroupSourceSelect only while this room is actively linked as the primary room.
| 2.10.4 |
SetDestGroupSourceIfSecondary(destGroupId: string, sourceId: string) | Performs SetDestinationGroupSourceSelect only while this room is actively linked as a secondary room.
| 2.10.4 |
RouteEncoderDecoderStreamByDeviceId(encoderId: string, decoderId: string) | Routes the encoder's current video and audio streams to the decoder. Both arguments are Device IDs of AV stream devices. | 2.0.0 |
RouteEncoderDecoderVideoStreamByDeviceId(encoderId: string, decoderId: string) | Routes only the encoder's current video stream to the decoder. Both arguments are Device IDs of AV stream devices. | 2.0.0 |
RouteEncoderDecoderAudioStreamByDeviceId(encoderId: string, decoderId: string) | Routes only the encoder's current audio stream to the decoder. Both arguments are Device IDs of AV stream devices. | 2.0.0 |
PairUsb(remoteDeviceId: string, localDeviceId: string) | Pairs the USB peripherals on the remote device (keyboard/mouse side) with the local device (PC side) at port index 0.
| 2.7.4 |
PairUsb(remoteDeviceId: string, localDeviceId: string, index: integer) | Pairs the USB peripherals on the remote device (keyboard/mouse side) with the local device (PC side) at the given port index.
| 2.7.4 |
Audio Manager binding: "audio"
| Signature | Description | Since |
|---|---|---|
SetAudioLevel(channelId: string, level: integer) | Sets an audio channel's level (0-100) and publishes audio.ChannelAudioLevel for it.
| 2.0.0 |
SetAudioMute(channelId: string, mute: boolean) | Mutes or unmutes an audio channel and publishes audio.ChannelAudioMute for it.
| 2.0.0 |
MuteAllAudio() | Mutes every audio channel CE controls.
| 2.0.0 |
ResetRoomAudio() | Resets every Program Audio, Microphone, and Auxiliary Audio fader with a configured Default level back to that level.
| 2.15.1 |
ResetMicrophoneAudioLevels() | Resets every visible Microphone fader with a configured Default level back to that level. | 2.0.0 |
SetCeilingMicMute(mute: boolean) | Mutes or unmutes every configured Ceiling Microphone, whether controlled directly as a device or through a DSP microphone channel.
| 2.0.0 |
SetSourceLevelDefaults() | Resets each AV Source's stored audio level to its configured "Default Audio Level" and marks the source unmuted.
| 2.0.0 |
SetSinkControl(sinkId: string, action: string) | Sends a "pair" or "cancel" pairing command to a Microphone Receiver, addressed by its configured ID.
| 2.19.0 |
Video Manager binding: "video"
| Signature | Description | Since |
|---|---|---|
VideoBreak(displayType: string, type: string) | Breaks the route to every destination of the given Destination Type.
| 2.0.0 |
SetDisplayImageMute(displayId: string, imageMute: boolean, screenFollow: boolean) | Image mutes or unmutes a single display (the display is video muted or unmuted).
| 2.7.4 |
OnImageMuteAll() | Image mutes the whole room.
| 2.0.0 |
OnImageUnmuteAll() | Restores every AV Destination from image mute by reversing its Source Deselection Behaviour.
| 2.0.0 |
IndividualDisplayVideoMuteOn(deviceId: string) | Sends the video mute command directly to one display device, addressed by its Device ID.
| 2.0.0 |
IndividualDisplayVideoMuteOff(deviceId: string) | Sends the video unmute command directly to one display device, addressed by its Device ID.
| 2.0.0 |
VideoMuteOn(displayType: string) | Video mutes every display of the given Destination Type.
| 2.0.0 |
VideoMuteOff(displayType: string) | Video unmutes every display of the given Destination Type.
| 2.0.0 |
SetDisplayVideoFreeze(displayId: string, freeze: boolean) | Freezes or unfreezes the video output on a single display, addressed by its Display ID. | 2.9.1 |
SetDisplayVideoFreezeByType(destinationType: string, freeze: boolean) | Freezes or unfreezes the video output on every display of the given Destination Type. | 2.9.1 |
ActivateAllMotors() | Extends the motors configured against every display, e.g. lowering projection screens.
| 2.7.4 |
DeactivateAllMotors() | Retracts the motors configured against every display, e.g. raising projection screens.
| 2.7.4 |
SetContentScene(sceneId: string) | Recalls a scene on every Content Layout's multi-window processor, sending the scene's configured preset value to each device. | 2.18.0 |
SetContentScene(contentId: string, sceneId: string) | Recalls a scene on one Content Layout's multi-window processor, sending the scene's configured preset value to the device. | 2.18.0 |
RouteAvStream(encoderId: string, decoderId: string) | Routes the encoder's video and audio streams to the decoder, both addressed by Device ID.
| 2.17.0 |
SetAudioStream(encoderId: string, decoderId: string) | Routes only the encoder's audio stream to the decoder, both addressed by Device ID.
| 2.18.0 |
SetDestinationDisabled(destinationId: string, disabled: boolean) | Disables or re-enables an AV Destination and publishes the change.
| 2.10.4 |
Camera Manager binding: "camera"
| Signature | Description | Since |
|---|---|---|
PresetRecall(id: string, preset: string) | Recalls a preset on one camera, resolved against the Camera Source's configured Presets by ID and then by Label.
| 2.13.0 |
PowerOnCameras(allCameras: boolean) | Powers on cameras, honouring each Camera Source's Power Off Behaviour.
| 2.13.3 |
PowerOffCameras() | Powers off every camera, honouring each Camera Source's Power Off Behaviour.
| 2.13.0 |
SetCameraPower(cameraId: string, power: boolean) | Powers a single camera on or off by its Camera Source ID. | 2.13.0 |
Document Camera Manager binding: "documentcamera"
| Signature | Description | Since |
|---|---|---|
PowerOnAllDocumentCameras() | Powers on the device behind every configured Document Camera Source. | 2.12.0 |
PowerOffAllDocumentCameras() | Powers off the device behind every configured Document Camera Source. | 2.12.0 |
Media Player Manager binding: "mediaplayer"
| Signature | Description | Since |
|---|---|---|
SetMediaPlayerControl(mediaPlayerSourceId: string, operation: string) | Sends a transport or navigation control to the device behind a Media Player Source.
| 2.24.0 |
Lighting Manager binding: "lighting"
| Signature | Description | Since |
|---|---|---|
PresetRecall(presetId: string) | Recalls a lighting preset by its ID.
| 2.9.1 |
SetFaderLevel(faderId: string, level: integer, channelId: string) | Sets a Lighting Fader's level (0-100).
| 2.9.1 |
Toggle(toggleId: string) | Flips a Lighting Toggle to the opposite of its last toggled state.
| 2.9.1 |
Timer Manager binding: "timer"
| Signature | Description | Since |
|---|---|---|
SetTimerMode(timerId: string, modeId: string) | Switches a timer to one of its configured Modes by mode entry ID.
| 2.20.0 |
SetTimerColour(timerId: string, colourId: string) | Sets a timer's display colour to one of its configured Colours.
| 2.20.0 |
IPTV Manager binding: "iptv"
| Signature | Description | Since |
|---|---|---|
SetIptvControl(guid: string, control: string, value: string) | Sends a channel command to the set-top box behind an IPTV control.
| 2.7.4 |
PowerOnAllIptvs() | Powers on every set-top box device in the room.
| 2.7.4 |
PowerOffAllIptvs() | Powers off every set-top box device in the room.
| 2.7.4 |
Bluetooth Manager binding: "bluetooth"
| Signature | Description | Since |
|---|---|---|
SetBluetoothControl(operation: string, bluetoothControlId: string) | Performs a Bluetooth operation on the sink device behind a configured Bluetooth control.
| 2.17.0 |
Sensor Manager binding: "sensor"
| Signature | Description | Since |
|---|---|---|
ResetSensorShutdownTimer() | Restarts the occupancy shutdown countdown from the configured Sensor Shutdown Delay. | 2.24.0 |
Conferencing Manager binding: "conferencing"
| Signature | Description | Since |
|---|---|---|
PerformConferencingAction(action: string) | Performs a call control on the room's conferencing codec.
| 2.24.0 |
JoinConferencingMeeting(meetingId: string) | Joins a booked meeting from the codec's current bookings list by its meeting ID.
| 2.24.0 |
SetConferencingLayout(layout: string) | Sets the codec's conferencing screen layout.
| 2.24.0 |
Device Actions
Operations on a single device. The macro action’s Device ID decides which device runs it, and the device must be of the type listed.
Display
| Signature | Description | Since |
|---|---|---|
SetPowerOn() | Powers on the display.
| 2.0.0 |
SetPowerOff() | Powers off the display; on projectors this also clears video mute. | 2.0.0 |
PollPowerOn() | Polls the display for its power state and sends power-on only when it is fully off or cooling.
| 2.0.0 |
SetVideoInput(input: string) | Switches the display to the given video input; on projectors this also clears video mute.
| 2.0.0 |
SetVideoMute(mute: boolean) | Video mutes (true) or unmutes (false) the display, blanking the picture without changing power.
| 2.0.0 |
Camera
| Signature | Description | Since |
|---|---|---|
SetPowerOn() | Powers on the camera. | 2.0.0 |
SetPowerOff() | Powers off the camera. Also resets the camera's published current preset to "None". | 2.0.0 |
SetTrackingOn() | Enables automatic tracking on the camera. Also resets the camera's published current preset to "None". | 2.0.0 |
SetTrackingOff() | Disables automatic tracking on the camera. Also resets the camera's published current preset to "None". | 2.0.0 |
PresetRecall(preset: string) | Recalls the given preset on the camera and publishes it as the camera's current preset.
| 2.0.0 |
Document Camera
| Signature | Description | Since |
|---|---|---|
SetPowerOn() | Powers on the document camera. | 2.0.0 |
SetPowerOff() | Powers off the document camera.
| 2.0.0 |
ZoomToValue(zoomLevel: integer) | Zooms the document camera to an absolute zoom level and publishes the new level. | 2.0.0 |
ToggleAutoFocus() | Flips the document camera between auto and manual focus, to the opposite of its reported auto focus state.
| 2.4.0 |
LampOn() | Turns the document camera's lamp on. Also clears the document camera's published current preset. | 2.0.0 |
LampOff() | Turns the document camera's lamp off. Also clears the document camera's published current preset. | 2.0.0 |
LampToggle() | Flips the document camera's lamp to the opposite of its reported lamp state.
| 2.0.0 |
PresetRecall(preset: string) | Recalls the given preset on the document camera and publishes it as the document camera's current preset.
| 2.0.0 |
IPTV
| Signature | Description | Since |
|---|---|---|
SetPowerOn() | Powers on the set-top box. | 2.0.0 |
SetPowerOff() | Powers off the set-top box. | 2.0.0 |
ChannelUp() | Steps the set-top box to the next channel.
| 2.0.0 |
ChannelDown() | Steps the set-top box to the previous channel.
| 2.0.0 |
ChannelRecall(channel: string) | Tunes the set-top box to the given channel and publishes it as the current channel.
| 2.0.0 |
Timer
| Signature | Description | Since |
|---|---|---|
SetTimer(duration: integer) | Sets the countdown duration in seconds.
| 2.19.0 |
StartTimer() | Starts the timer, or resumes it if paused. | 2.19.0 |
StopTimer() | Stops the timer and clears both its active and initial durations to zero.
| 2.19.0 |
PauseTimer() | Pauses the timer, holding the current value so StartTimer can resume it. | 2.19.0 |
ResetTimer() | Resets the timer to its initial duration (the value last set with SetTimer).
| 2.19.0 |
SetMode(mode: string) | Switches the timer's operating mode: "clock" (time of day), "timer" (countdown), or "stopwatch" (count up).
| 2.19.0 |
ExtendTime() | Extends the time remaining on the countdown by the driver's default step, 60 seconds where supported.
| 2.19.0 |
ExtendTime(seconds: integer) | Extends the time remaining on the countdown by the given number of seconds.
| 2.19.0 |
ReduceTime() | Reduces the time remaining on the countdown by the driver's default step, 60 seconds where supported.
| 2.19.0 |
ReduceTime(seconds: integer) | Reduces the time remaining on the countdown by the given number of seconds.
| 2.19.0 |
SetColour(colour: string) | Sets the timer's display colour and publishes it as the timer's current colour. The value is sent to the device as-is. | 2.19.0 |
SetColour(r: integer, g: integer, b: integer) | Sets the timer's display colour from red, green, and blue components (0-255).
| 2.19.0 |
Motor
| Signature | Description | Since |
|---|---|---|
Extend() | Extends the motor (the down direction), e.g. lowering a projection screen or display lifter.
| 2.0.0 |
Retract() | Retracts the motor (the up direction), e.g. raising a projection screen or display lifter.
| 2.0.0 |
Stop() | Stops the motor's current movement. | 2.0.0 |
Bluetooth
| Signature | Description | Since |
|---|---|---|
Pair() | Starts Bluetooth pairing on the device, making it discoverable; progress is published as the device's sink status. | 2.17.0 |
CancelPair() | Cancels an in-progress Bluetooth pairing attempt. | 2.17.0 |
CloseConnection() | Disconnects the currently connected Bluetooth device. | 2.17.0 |
Lighting Controller
| Signature | Description | Since |
|---|---|---|
PresetRecall(guid: string) | Recalls a registered lighting preset on the controller, using the area, preset id and fade time from the preset's configuration.
| 2.0.0 |
SetFaderLevel(guid: string, level: integer) | Sets every channel of a registered lighting fader to the given level, using the fader's configured area and fade time.
| 2.0.0 |
Toggle(guid: string, toggle: boolean) | Turns a registered lighting toggle on or off by recalling its configured on or off preset on the toggle's area.
| 2.0.0 |
Touch Panel
| Signature | Description | Since |
|---|---|---|
SetColour(r: integer, g: integer, b: integer, ledType: string) | Sets the LED at ledType to the given RGB colour.
| 2.18.0 |
Flash(r: integer, g: integer, b: integer, repeatCount: integer, onInterval: integer, offInterval: integer, ledType: string) | Flashes the LED at ledType between the given RGB colour and off for repeatCount cycles.
| 2.18.0 |
DSP
| Signature | Description | Since |
|---|---|---|
SetVolumeLevel(guid: string, volumePercent: integer) | Sets a DSP fader to the given level (0-100). | 2.0.0 |
SetVolumeMute(guid: string, mute: boolean) | Mutes (true) or unmutes (false) a DSP fader. | 2.0.0 |
PresetRecall(preset: string) | Recalls a preset or snapshot on the DSP, sending the value to the device as-is. | 2.0.0 |
Encoder / Decoder
| Signature | Description | Since |
|---|---|---|
SetVideoStream(stream: string) | Sets the video stream the device sends or receives; pass "" to clear the stream, blanking a decoder. | 2.0.0 |
SetAudioStream(stream: string) | Sets the audio stream the device sends or receives; pass "" to clear the stream. | 2.0.0 |
SetVideoMute(mute: boolean) | Video mutes (true) or unmutes (false) the device's video output. | 2.0.0 |
SetVolumeMute(mute: boolean) | Mutes (true) or unmutes (false) the device's audio output. | 2.0.0 |
Switcher
| Signature | Description | Since |
|---|---|---|
SetVolumeLevel(level: integer) | Sets the switcher's output volume to the given level (0-100).
| 2.0.0 |
SetVolumeMute(mute: boolean) | Mutes (true) or unmutes (false) the switcher's audio output.
| 2.0.0 |
SetAudioVideoInput(input: string) | Switches both audio and video to the given input on the switcher. | 2.0.0 |