Macro_Groups
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| Macro_Groups [2018/07/01 02:02] – Basic rewrite, Add screenshots, more to come ... JMichaelTX | Macro_Groups [2024/09/09 05:40] (current) – peternlewis | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Macro Groups ====== | ====== Macro Groups ====== | ||
| - | Keyboard Maestro organizes your macros | + | Keyboard Maestro organizes your [[manual: |
| + | |||
| + | ===== Purpose ===== | ||
| + | |||
| + | * Provide a folder-like container for related Macros. | ||
| + | * Control when those Macros are active, and available to be triggered. | ||
| + | * Provide for displaying | ||
| + | |||
| + | ===== Controlling When Macros are Active ===== | ||
| The **most important function** of Macro Groups is to **control when the contained macros are active.** | The **most important function** of Macro Groups is to **control when the contained macros are active.** | ||
| + | |||
| + | In order to run (execute) a macro: | ||
| + | * One of its [[Triggers|Triggers]] must be invoked | ||
| + | * It can only be triggered if it is active | ||
| + | * It can only be active if it meets all of the activation criteria, including being enabled | ||
| + | |||
| + | Macro activation can be a challenging subject to master. | ||
| + | |||
| + | ===== Displaying a Palette ===== | ||
| + | |||
| + | * Each Macro Group can be displayed as a palette. The macro group can be global to all applications, | ||
| + | * For details on setup of Palettes, see **[[manual: | ||
| + | |||
| + | ===== Macro Group UI ===== | ||
| + | |||
| + | You create, edit, and manage //Macro Groups// in the Keyboard Maestro Editor. | ||
| + | |||
| + | Controls are available at the bottom of the //Macro Groups// Panel, in the //File// menu, and via keyboard shortcuts. | ||
| + | |||
| + | {{: | ||
| + | |||
| + | --- | ||
| ===== Setup Criteria (Basic) ===== | ===== Setup Criteria (Basic) ===== | ||
| - | ==== Active | + | When you create a new //Macro Group//, the setup for it will appear in the far right panel that normally contains the Macro Action List. It looks like the below screenshot, with the popup options shown to the right. |
| - | A Macro Group can target or exclude specific applications, | + | {{: |
| - | By default, Macro Groups and their Macros are active in all applications, | + | ==== Active When Applications Are Active ==== |
| - | To have macros only active in specific applications, | + | * A Macro Group can target or exclude specific applications, |
| + | * By default, Macro Groups and their Macros are active in all applications, | ||
| + | * To have macros only active in specific applications, | ||
| **By choosing the applications for which a macro is active**, you can control more applications with fewer conflicts. | **By choosing the applications for which a macro is active**, you can control more applications with fewer conflicts. | ||
| Line 20: | Line 52: | ||
| * For application-specific macros, use **Available in these applications**. | * For application-specific macros, use **Available in these applications**. | ||
| * To exclude certain applications, | * To exclude certain applications, | ||
| - | * For Application | + | * For Macros triggered by one of the [[trigger:Application|Application Triggers]]: |
| + | * Use **Available in all applications** | ||
| + | * Use **Available in these applications** to be available to Activates or Quits triggers. | ||
| + | * The [[trigger: | ||
| * For Login or Public Web triggered macros, use **Available in all applications**. | * For Login or Public Web triggered macros, use **Available in all applications**. | ||
| Line 31: | Line 66: | ||
| * If you want to use several macros in succession, configure the Macro Group to be **Activated/ | * If you want to use several macros in succession, configure the Macro Group to be **Activated/ | ||
| * If you want to have a global palette of related macros, configure the Macro Group to **Show a palette**. | * If you want to have a global palette of related macros, configure the Macro Group to **Show a palette**. | ||
| + | * If you want the macros to be always active, but to show a palette only some of the time, choose one of the **Always activated and shows…** variants. | ||
| + | |||
| + | For more details see the [[# | ||
| --- | --- | ||
| Line 68: | Line 106: | ||
| * Mail.app that inserts common text messages. | * Mail.app that inserts common text messages. | ||
| + | * [Macro Group Active Only for Mail.app Compose Window](https:// | ||
| * BBEdit and Xcode that inserts code chunks or duplicate lines or add #include headers. | * BBEdit and Xcode that inserts code chunks or duplicate lines or add #include headers. | ||
| * Safari that configure windows or enter information. | * Safari that configure windows or enter information. | ||
| Line 91: | Line 130: | ||
| - | To have Macros that are active once only when you specifically activate them, set the Macro Group to be **Activated for one action**. The Macros in the Macro Group will be enabled | + | To have Macros that are active once only when you specifically activate them, set the Macro Group to be **Activated for one action**. The Macros in the Macro Group will be activated |
| ==== Active Until Deactivated ==== | ==== Active Until Deactivated ==== | ||
| Line 99: | Line 138: | ||
| ==== Show Palette for One Action ==== | ==== Show Palette for One Action ==== | ||
| - | To have Macros that are active and displayed only after you specifically activate them, set the Macro Group to **Show a palette for one action**. The Macros in the Macro Group will be displayed in a floating Macro Palette and enabled when you press the Macro Group Hot Key and will remain displayed until either any macro is triggered or you press any other key ((You could use this to create a set of related actions that do not even need a Hot Key. For example, you could have a group of macros to launch various applications like Mail, Safari and the Finder so when you press Command-Control-L, | + | To have Macros that are active and displayed only after you specifically activate them, set the Macro Group to **Show a palette for one action**. The Macros in the Macro Group will be displayed in a floating Macro Palette and enabled when you press the Macro Group Hot Key and will remain displayed until either |
| To have Macros that are active and displayed after you specifically activate them, set the Macro Group to **Show/hide a palette**. The Macros in the Macro Group will be displayed in a floating Macro Palette and enabled when you press the Macro Group Hot Key and will remain displayed until you press the Macro Group Hot Key again. You could use this to create a set of related actions that do not even need a Hot Key ((For example, you could have a group of macros to align objects in a CAD program, so when you press Command-Control-A, | To have Macros that are active and displayed after you specifically activate them, set the Macro Group to **Show/hide a palette**. The Macros in the Macro Group will be displayed in a floating Macro Palette and enabled when you press the Macro Group Hot Key and will remain displayed until you press the Macro Group Hot Key again. You could use this to create a set of related actions that do not even need a Hot Key ((For example, you could have a group of macros to align objects in a CAD program, so when you press Command-Control-A, | ||
Macro_Groups.1530410549.txt.gz · Last modified: by JMichaelTX
