Button State Reference

This page describes built-in Touch Portal Button State actions, events and states. For other automation options, see the Touch Portal Capability Model.

Button State Actions

Set Button State

The Action 'Set Button State' as visible in Touch Portal.

Action settings

state
The state to set the button to
This action allows you to set the button state to either On or Off
Note: The button state is a predefined state for a button which can only be On and Off. If you need more or different states, use Values.
Action
Icon showing the Touch Portal category this item belongs to.

1.8

Available since
Touch Portal Logo used to accompany the version number this item was available from.
Green Windows Logo indicating this Action is supported on Windows.
Green macOS Logo indicating this Action is supported on macOS.
Green Linux Logo indicating this Action is supported on Linux.

Set Other Button State

The Action 'Set Other Button State' as visible in Touch Portal.

Action settings

State
the state to set the button to, can be On or Off
Id
The id of the button to set the state of
This action allows you to set the state of a button with the given id to On or Off.
Action
Icon showing the Touch Portal category this item belongs to.

2.0

Available since
Touch Portal Logo used to accompany the version number this item was available from.
Green Windows Logo indicating this Action is supported on Windows.
Green macOS Logo indicating this Action is supported on macOS.
Green Linux Logo indicating this Action is supported on Linux.

Toggle Button State

The Action 'Toggle Button State' as visible in Touch Portal.
This action allows you to toggle the button state to either on or off. This action will switch from the current state.
Note: The button state on and off is a built in state for a button. If you need more options, use Values.
Action
Icon showing the Touch Portal category this item belongs to.

2.0

Available since
Touch Portal Logo used to accompany the version number this item was available from.
Green Windows Logo indicating this Action is supported on Windows.
Green macOS Logo indicating this Action is supported on macOS.
Green Linux Logo indicating this Action is supported on Linux.

Button State Events

When Button State Changes

The Event 'When Button State Changes' as visible in Touch Portal.

Event settings

OnOff
the state of the button the event should trigger on.
This event allows you to act on the event that is triggered when the state of the button changes.
Event
Icon showing the Touch Portal category this item belongs to.

1.8

Available since
Touch Portal Logo used to accompany the version number this item was available from.
Green Windows Logo indicating this Event is supported on Windows.
Green macOS Logo indicating this Event is supported on macOS.
Green Linux Logo indicating this Event is supported on Linux.