| 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 specific categories are enabled.</pre> |
| | | | |
| − | This restriction allows certain macros to run only when a specified category is enabled or disabled.
| + | ''' Options ''' |
| | + | |
| | + | * '''Enabled''': Constraint passes only when selected categories are enabled |
| | + | * '''Disabled''': Constraint passes only when selected categories are disabled |
| | + | |
| | + | ''' Example ''' |
| | + | |
| | + | ''Example 1: Only open work apps when the Work category is enabled'' |
| | + | <pre class="trigger-style">Triggers |
| | + | |
| | + | Screen On/Off - Screen On</pre> |
| | + | <pre class="action-style">Actions |
| | + | |
| | + | Launch Application: Outlook</pre> |
| | + | <pre class="constraint-style">Constraints |
| | + | |
| | + | Category Enabled/Disabled - Enabled (Work)</pre> |
| | + | |
| | + | ''' See Also ''' |
| | + | |
| | + | * [[Constraint: Macro(s) Enabled/Disabled|Macro(s) Enabled/Disabled Constraint]] |