Difference between revisions of "Constraint: Device Locked/Unlocked"
(Created page with "This constraint can be used to allow a trigger to fire only when the device is locked/unlocked.") |
|||
| (3 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
| − | This constraint | + | <pre class="header-style">This constraint allows or prevents a macro/feature from running based on whether the device is locked or unlocked.</pre> |
| + | |||
| + | ''' Options ''' | ||
| + | |||
| + | * '''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]] | ||
Latest revision as of 11:26, 9 January 2026
This constraint allows or prevents a macro/feature from running based on whether the device is locked or unlocked.
Options
- 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
Triggers Screen On/Off - Screen On
Actions Launch Application: 1Password
Constraints Device Locked/Unlocked - Unlocked
See Also