Macro Set: ReName Action

###Macro Set: ReName Action (3 macros)

~~~ VER: 2.0    2017-06-06 ~~~

####DOWNLOAD:
Macro Set -- ReName Action.kmmacros (26 KB)

These Macros were uploaded in a DISABLED state. You must enable before it can be triggered.
• Download includes 3 closely related Macros, all using the same trigger.


###Use Case

  • Change Name of Action to Document what it actually does

###Example of Auto-Set

####Normal Action

####Select Auto-Set

####And you instantly have this:

ready for me to type at the insertion point.


###ReleaseNotes

Author.@JMichaelTX

PURPOSE:

  • ReName a KM Action

HOW TO USE:

  1. SELECT the Action (OR nothing selected)
  2. HOVER the Mouse over the Action
    • NOT over a text area or other Action Field
    • Best Spot is in the Action Name area in the Name Area
  • Trigger this Macro
    • I use ⌥N which displays a Conflict Palette
    • Type One of the following in the Conflict Palette:
      • E -- EDIT the existing Name
      • A -- AUTO-SET the Name based on Default Name
      • R -- Set to ReleaseNote format
        .
  1. Manually CHANGE the Name as you like
  2. Press RETURN

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:
      .
  • Assign a Trigger to this maro. I prefer ⌥N
  • Move this macro to a Macro Group that is only Active when the KM Editor is active/frontmost
  • ENABLE this Macro.
    .
  • REVIEW/CHANGE THE FOLLOWING MACRO ACTIONS:
    (all shown in the magenta color)
    • SWITCH: ReName Based on Default Action Name
      • Edit and/or Add Cases You Want to Use

TAGS: @Rename @Action @UI

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.

###ReName Action -- AUTO-SET
(the other macros are similar)

OK, thanks. I’m able to open the Rename item from the contextual menu by triggering the macros, but I think I’m most interested in the Auto-set choice, but I’m not sure how to edit the magenta items so that it will work. With the default settings, A and E appear to do the same thing, which is to open the action name field and selecting what’s already in the field. Is that what might be expected to happen if the magenta items in the Auto-set macro remain unedited?

A and E do the same thing only if you are applying to an Action that is not in the Switch list.

For example, I do NOT have a case for "Comment" Actions, so if you trigger the "A" macro, it will work just like the "E" macro.

But, now I have added a case for "Comment" Actions:

which results in this:

ready for me to type my comment between the the "~~~" characters.

Make sense?