Changes

no edit summary
Line 1: Line 1: −
<span style="color: #0E9549; font-size: 24px;">'''About this constraint '''</span><br/>
+
<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.
+
 
 +
''' 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]]