Difference between revisions of "Constraint: Application Running"
| Line 1: | Line 1: | ||
| − | < | + | <pre class="header-style">This constraint allows or prevents a macro/feature from running based on whether a selected app is currently running in the foreground.</pre> |
| − | + | ''' Options ''' | |
| − | < | + | * '''Running''': Constraint passes only when the selected app is running in the foreground |
| − | + | * '''Not running''': Constraint passes only when the selected app is not running in the foreground | |
| + | * '''Application''' - Choose the app to check | ||
| + | |||
| + | ''' Example ''' | ||
| + | |||
| + | ''Example 1: Launch a media app only if it is not already running'' | ||
| + | <pre class="trigger-style">Triggers | ||
| + | |||
| + | Bluetooth Event - Device Connected</pre> | ||
| + | <pre class="action-style">Actions | ||
| + | |||
| + | Launch Application: Spotify</pre> | ||
| + | <pre class="constraint-style">Constraints | ||
| + | |||
| + | Application Running - Not running (Spotify)</pre> | ||
| + | |||
| + | ''' See Also ''' | ||
| + | |||
| + | * [[Trigger: Application Launched/Closed|Application Launched/Closed Trigger]] | ||
| + | * [[Action: Launch Application|Launch Application Action]] | ||
Latest revision as of 10:58, 9 January 2026
This constraint allows or prevents a macro/feature from running based on whether a selected app is currently running in the foreground.
Options
- Running: Constraint passes only when the selected app is running in the foreground
- Not running: Constraint passes only when the selected app is not running in the foreground
- Application - Choose the app to check
Example
Example 1: Launch a media app only if it is not already running
Triggers Bluetooth Event - Device Connected
Actions Launch Application: Spotify
Constraints Application Running - Not running (Spotify)
See Also