Difference between revisions of "Constraint: System Settings"
(Created page with "<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> This constraint can be used to allow/prevent actions being run based on the curren...") |
|||
| (2 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
| − | <pre | + | <pre class="header-style">This constraint allows or prevents a macro/feature from running based on a system setting value.</pre> |
| − | This constraint | + | |
| − | </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