Difference between revisions of "Constraint: System Settings"
| Line 1: | Line 1: | ||
| − | < | + | <pre class="header-style">This constraint allows or prevents a macro/feature from running based on a system setting value.</pre> |
| − | + | ''' Options ''' | |
| + | |||
| + | * '''Setting Name''' - Choose the system setting to check | ||
| + | * '''Match Type''' - Equals, contains, or numeric comparison | ||
| + | * '''Expected Value''' - The value to compare against | ||
| + | |||
| + | ''' Example ''' | ||
| + | |||
| + | ''Example 1: Enable auto-rotate only if it is currently disabled in system settings'' | ||
| + | <pre class="trigger-style">Triggers | ||
| + | |||
| + | Application Launched/Closed - Launched (YouTube)</pre> | ||
| + | <pre class="action-style">Actions | ||
| + | |||
| + | Auto Rotate On/Off (Enable)</pre> | ||
| + | <pre class="constraint-style">Constraints | ||
| + | |||
| + | System Settings - accelerometer_rotation = 0</pre> | ||
| + | |||
| + | ''' See Also ''' | ||
| + | |||
| + | * [[Action: Auto Rotate On/Off|Auto Rotate On/Off Action]] | ||
Latest revision as of 13:50, 9 January 2026
This constraint allows or prevents a macro/feature from running based on a system setting value.
Options
- Setting Name - Choose the system setting to check
- Match Type - Equals, contains, or numeric comparison
- Expected Value - The value to compare against
Example
Example 1: Enable auto-rotate only if it is currently disabled in system settings
Triggers Application Launched/Closed - Launched (YouTube)
Actions Auto Rotate On/Off (Enable)
Constraints System Settings - accelerometer_rotation = 0
See Also