Changes

no edit summary
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 the device is locked or unlocked.</pre>
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
+
 
This constraint can be used to allow a trigger to fire only when the device is locked/unlocked.
+
''' Options '''
</pre>
+
 
 +
* '''Locked''': Constraint passes only when the device is locked
 +
* '''Unlocked''': Constraint passes only when the device is unlocked
 +
 
 +
''' Example '''
 +
 
 +
''Example 1: Only open a password manager when the device is unlocked''
 +
  <pre class="trigger-style">Triggers
 +
 
 +
Screen On/Off - Screen On</pre>
 +
  <pre class="action-style">Actions
 +
 
 +
Launch Application: 1Password</pre>
 +
  <pre class="constraint-style">Constraints
 +
 
 +
Device Locked/Unlocked - Unlocked</pre>
 +
 
 +
''' See Also '''
 +
 
 +
* [[Trigger: Screen Unlocked|Screen Unlocked Trigger]]