Assign Variable Icon If [Time Source] State

This action allows you to control other actions based on the state of the given Time Source.

It checks if the Time Source State Constant given in "State" is (or isn't) the state of the Time Source given in "Time Source".

 

Action Syntax:

Assign Variable Action

Arguments:

ArgumentDescription
Time SourceThe Time Source to check the state of
NotEnable this to invert the condition
StateThe Time Source State Constant to check against

 

Example:


This code block would ideally run in a Key Press event.

It checks if the state of a Time Source is "active", and in that case, it pauses that Time Source.

However, if the state is "paused", it starts the Time Source again.