Difference between revisions of "Constraint: Device Locked/Unlocked"
| Line 1: | Line 1: | ||
| − | < | + | <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