Difference between revisions of "Constraint: Floating Text"

Line 1: Line 1:
<span style="color: #0E9549; font-size: 24px;">'''About this constraint '''</span>
+
<pre class="header-style">This constraint allows or prevents a macro/feature from running based on whether a floating text item is visible.</pre>
  
This constraint can be to used to allow/prevent functionality depending if specific floating text is currently showing (based on it's id).
+
''' Options '''
 +
 
 +
* '''Is Showing''': Constraint passes only when the floating text is visible
 +
* '''Is Not Showing''': Constraint passes only when it is hidden
 +
* '''Text ID''': Select the floating text to check
 +
 
 +
''' Example '''
 +
 
 +
''Example 1: Configure and disply a status banner only when it is not already visible''
 +
  <pre class="trigger-style">Triggers
 +
 
 +
Screen On/Off - Screen On</pre>
 +
  <pre class="action-style">Actions
 +
 
 +
Floating text: "Meeting Mode"</pre>
 +
  <pre class="constraint-style">Constraints
 +
 
 +
Floating Text - Is Not Showing (Meeting Mode)</pre>
 +
 
 +
''' See Also '''
 +
 
 +
* [[Action: Floating text|Floating text Action]]

Revision as of 11:29, 9 January 2026

This constraint allows or prevents a macro/feature from running based on whether a floating text item is visible.

Options

  • Is Showing: Constraint passes only when the floating text is visible
  • Is Not Showing: Constraint passes only when it is hidden
  • Text ID: Select the floating text to check

Example

Example 1: Configure and disply a status banner only when it is not already visible

Triggers

Screen On/Off - Screen On
Actions

Floating text: "Meeting Mode"
Constraints

Floating Text - Is Not Showing (Meeting Mode)

See Also