trigger:Application
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| trigger:Application [2015/07/21 03:39] – peternlewis | trigger:Application [2020/11/02 02:25] (current) – peternlewis | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Application Trigger ====== | ||
| + | |||
| The // | The // | ||
| - | * Launches | + | * Launches. |
| - | * Quits | + | * Quits. |
| - | * Is Running (the macro executes repeatedly). | + | * Is Running (and periodically while it remains running). |
| - | * Activates | + | * Activates. |
| - | * Deactivates | + | * Deactivates. |
| - | * Is Active (the macro executes repeatedly). | + | * Is Active (and periodically while it remains at the front). |
| An application Activates when it comes to the foreground, and deactivates when another application comes to the foreground. | An application Activates when it comes to the foreground, and deactivates when another application comes to the foreground. | ||
| + | |||
| + | The `Is Running` and `Is Active` variant will trigger once when the application first launches/ | ||
| You could use a trigger like this to simulate workspaces by automatically setting up an application the way you want when you launch it, or you could clean up after an application when you quit. | You could use a trigger like this to simulate workspaces by automatically setting up an application the way you want when you launch it, or you could clean up after an application when you quit. | ||
| - | **Caution**: As with all triggers, the trigger will fire only if the Macro Group that contains it is active, which is based on the current foreground application **before** | + | You can use the [[token:TriggerValue|%TriggerValue% Text Token]] to determine the path of the application (previous to 9.0, the `%TriggerValue%` token contained |
| + | |||
| + | (!) If a macro that is triggered by an application launching is in a macro group that is active | ||
| + | |||
| + | ===== See Also ===== | ||
| + | |||
| + | === Actions === | ||
| + | |||
| + | * [[: | ||
| + | |||
| + | === Conditions === | ||
| + | |||
| + | * [[condition: | ||
| + | * [[: | ||
| + | |||
| + | === Tokens === | ||
| + | |||
| + | * [[token: | ||
| + | * [[token: | ||
| + | * [[token: | ||
| + | * [[token: | ||
| + | * [[token: | ||
| + | * [[token: | ||
| + | * [[: | ||
| + | |||
| + | === Triggers === | ||
| + | |||
| + | * [[: | ||
| + | |||
| + | ==== Forum ==== | ||
| - | Be careful not to place macros with these triggers inside a macro group that is only active when the specified application is active. | + | - [[https:// |
| + | - [[https:// | ||
trigger/Application.1437449992.txt.gz · Last modified: by peternlewis
