Difference between revisions of "Constraint: Auto Rotate"

 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
+
<pre class="header-style">This constraint allows or prevents a macro/feature from running based on the current auto-rotate setting.</pre>
This constraint can be used to allow a trigger to fire only when auto rotate is enabled/disabled.
+
 
</pre>
+
''' Options '''
 +
 
 +
* '''Enabled''': Constraint passes only when auto-rotate is on
 +
* '''Disabled''': Constraint passes only when auto-rotate is off
 +
 
 +
''' Example '''
 +
 
 +
''Example 1: Disable auto-rotate for reading apps only if it is currently enabled''
 +
  <pre class="trigger-style">Triggers
 +
 
 +
Application Launched/Closed - Launched (Kindle)</pre>
 +
  <pre class="action-style">Actions
 +
 
 +
Auto Rotate On/Off (Disable)</pre>
 +
  <pre class="constraint-style">Constraints
 +
 
 +
Auto Rotate - Enabled</pre>
 +
 
 +
''' See Also '''
 +
 
 +
* [[Trigger: Auto Rotate changed|Auto Rotate changed Trigger]]
 +
* [[Action: Auto Rotate On/Off|Auto Rotate On/Off Action]]

Latest revision as of 10:59, 9 January 2026

This constraint allows or prevents a macro/feature from running based on the current auto-rotate setting.

Options

  • Enabled: Constraint passes only when auto-rotate is on
  • Disabled: Constraint passes only when auto-rotate is off

Example

Example 1: Disable auto-rotate for reading apps only if it is currently enabled

Triggers

Application Launched/Closed - Launched (Kindle)
Actions

Auto Rotate On/Off (Disable)
Constraints

Auto Rotate - Enabled

See Also