User Tools

Site Tools


trigger:Application

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
trigger:Application [2017/03/05 21:45]
peternlewis
trigger:Application [2018/07/02 02:17] (current)
JMichaelTX Needs Review
Line 1: Line 1:
 +{{:​trigger:​app-trigger-icon-km8.png?​nolink|}}
 +
 +====== Application Trigger ======
 +
 The //​Application trigger// allows you to execute a macro when an specified application (or any application) does any of the following: The //​Application trigger// allows you to execute a macro when an specified application (or any application) does any of the following:
  
-Launches +FIXME [JMichaelTx] ​ This needs testing/​confirmation:​ 
-Quits + 
-Is Running (the macro executes repeatedly). +^ Trigger Type ^ Macro Group Type ^ 
-* Activates +Launches ​| global | 
-* Deactivates +Quits | app specific | 
-Is Active (the macro executes repeatedly).+| Activates | app specific | 
 +| Deactivates | app specific | 
 +Is Running (the macro executes repeatedly). ​| app specific | 
 +Is Active (the macro executes repeatedly). | app specific | 
 + 
 +Of course, all macros are active when in a global (//​Available in all applications//​) macro group, but a macro with the //​Launches//​ trigger //must// be in a global group.
  
 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.
  
 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.
 +
 +FIXME [JMichaelTx] ​ The below is inconsistent with my testing. ​ I just created a Macro to trigger on Excel activation, in a Macro Group available ONLY in Excel, and it fired when Excel launched.
  
 **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** the specified application launches, or **after** the specified application is deactivated or quits. ​ In practice, this means the Macro Groups that contain this trigger should be targeted at All Applications. **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** the specified application launches, or **after** the specified application is deactivated or quits. ​ In practice, this means the Macro Groups that contain this trigger should be targeted at All Applications.
trigger/Application.txt · Last modified: 2018/07/02 02:17 by JMichaelTX