User Tools

Site Tools


trigger:Application

Table of Contents

**This is an old revision of the document!**

The Application trigger allows you to execute a macro when an specified application (or any application) does any of the following:

  • Launches
  • Quits
  • Is Running (the macro executes repeatedly).
  • Activates
  • Deactivates
  • Is Active (the macro executes repeatedly).

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.

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.

Be careful not to place macros with these triggers inside a macro group that is only active when the specified application is active. Otherwise, by the time the macro itself becomes active, the application has already launched and activated and so the macro will not fire.

See Also


Actions

Conditions

Tokens

Topics

Triggers

Forum

External References

trigger/Application.1472396770.txt.gz · Last modified: 2016/08/28 11:06 by alain