Difference between revisions of "Constraint: Floating Button"
| Line 1: | Line 1: | ||
| − | < | + | <pre class="header-style">This constraint allows or prevents a macro/feature from running based on whether a specific floating button is visible.</pre> |
| − | + | ''' Options ''' | |
| − | '' | + | * '''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]] | ||
Latest revision as of 11:28, 9 January 2026
This constraint allows or prevents a macro/feature from running based on whether a specific floating button is visible.
Options
- 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
Triggers Application Launched/Closed - Launched (Maps)
Actions Floating Button Configure (id: nav_button)
Constraints Floating Button - Is Not Showing (nav_button)
See Also