Set Focus to @KM Group [Sub-Macro]

MACRO:   Set Focus to @KM Group [Sub-Macro]


VER: 2.0    2017-08-14 ~~~

DOWNLOAD:

Set Focus to @KM Group [Sub-Macro].kmmacros (9.2 KB)
Note: This Macro was uploaded in a DISABLED state. You must enable before it can be triggered.


Use Case

  • Set Focus to User Selected KM Macro Group

Example Output

Normally there is no output from this macro -- it just sets focus on the selected KM Group. But if it does not find an exact match for the name passed to it, the user will be prompted to select a group:

ReleaseNotes

Author.@JMichaelTX

PURPOSE:

  • Provide Sub-Macro to Set Focus to KM Group

HOW TO USE:

  1. Add an Execute a Macro action in another Macro
  • Set its parameter to the Name of the Group you want to set focus to.
    .

    .
  1. Trigger the Macro setup in #1

MACRO SETUP

  • Carefully review the Release Notes and the Macro Actions
    • Make sure you understand what the Macro will do.
    • You are responsible for running the Macro, not me. :wink:
      .
  • This is a Sub-Macro, and does NOT use a Trigger.
  • Move this macro to a Macro Group that is only Active when you need this Macro, most likely your "KM" Group
  • ENABLE this Macro.
    .

TAGS: @SubMacro @Group @KM @SetFocus

USER SETTINGS:

  • Any Action in magenta color is designed to be changed by end-user

ACTION COLOR CODES

  • To facilitate the reading, customizing, and maintenance of this macro,
    key Actions are colored as follows:
  • GREEN -- Key Comments designed to highlight main sections of macro
  • MAGENTA -- Actions designed to be customized by user
  • YELLOW -- Primary Actions (usually the main purpose of the macro)
  • ORANGE -- Actions that permanently destroy Variables or Clipboards,
    OR IF/THEN and PAUSE Actions

REQUIRES:

  1. Keyboard Maestro Ver 7.3+ (don't even ask me about KM 6 support).
  2. El Capitan 10.11.6+
  • It make work with Yosemite, but I make no guarantees.

USE AT YOUR OWN RISK

  • While I have given this limited testing, and to the best of my knowledge will do no harm, I cannot guarantee it.
  • If you have any doubts or questions:
    • Ask first
    • Turn on the KM Debugger from the KM Status Menu, and step through the macro, making sure you understand what it is doing with each Action.

2 Likes

This is super useful to me. Thank you @JMichaelTX

1 Like