| 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 specific floating button is visible.</pre> |
| | | | |
| − | This constraint allows you to control the execution of an action or macro based on the visibility of a specific floating button (identified by ID).
| + | ''' Options ''' |
| | | | |
| − | ''See also: Trigger: [[Trigger: Floating Button|Floating Button]], Action: [[Action: Floating Button Configure|Floating Button Configure]].'' | + | * '''Is Showing''': Constraint passes only when the floating button is visible |
| | + | * '''Is Not Showing''': Constraint passes only when it is hidden |
| | + | * '''Button ID''': Select the floating button to check |
| | + | |
| | + | ''' Example ''' |
| | + | |
| | + | ''Example 1: Only show the navigation button if it is not already visible'' |
| | + | <pre class="trigger-style">Triggers |
| | + | |
| | + | Application Launched/Closed - Launched (Maps)</pre> |
| | + | <pre class="action-style">Actions |
| | + | |
| | + | Floating Button Configure (id: nav_button)</pre> |
| | + | <pre class="constraint-style">Constraints |
| | + | |
| | + | Floating Button - Is Not Showing (nav_button)</pre> |
| | + | |
| | + | ''' See Also ''' |
| | + | |
| | + | * [[Trigger: Floating Button|Floating Button Trigger]] |