

Login triggers can also be restricted to certain days of the week. You can also execute a macro periodically (for example every ten minutes or every three days). You can use the Login trigger to execute a macro when you login. In practice, this means the Macro Groups that contain this trigger should be targeted at All Applications. 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.Īs 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.

You can also have the Macro run periodically while an application is running or while it is at the front. You can have a Macro execute in response to an application event, such as when the specified application launches, quits, activates or deactivates. Normally the Macro will not repeat if you hold the key down, but you can enable Key Repeat to have the macro execute continuously while you hold they key combination down.Ī common use for Hot Key triggers is to open applications or documents, insert text templates, or as a way of remapping command keys (for instance you can make command-T execute “Replace and Find Again” in an application that uses a different command key (or no command key) for that menu command). Almost any key can be a trigger, and keep in mind the number pad counts as different keys to the numeric keys on the main keyboard. You execute a Macro by pressing a key combination - a keyboard key like a letter, number, symbol or function key, often in combination with one or more modifiers (shift, control, option and/or command). The most common Macro Trigger is the traditional Hot Key. You can also create a floating palette of macros, execute macros in response to applications launching or quitting, or continuously while they are running, execute them remotely via an in-built web server, or at a particular time of day, as well as other possible events. There are several triggers to choose from (detailed below), the most common being a Hot key, that is a Macro is executed in response to a keystroke, usually in conjunction with one or more modifier keys. A Macro is executed when any of its Macro Triggers is activated.
