How to create a shortcut that Edits the Last Used Macro?

On a related note, I cobbled together a macro that presents a list of the ten most recently executed macros and, if one is selected, Keyboard Maestro opens and the macro is selected for editing.

The list is presented using a slightly modified version of @DanThomas's macro: Get Recently Run Macros with Last Executed Time

Download: Edit a Recently Executed Macro.kmmacros (23 KB)

Macro-Image


Macro-Notes
  • Macros are always disabled when imported into the Keyboard Maestro Editor.
    • The user must ensure the macro is enabled.
    • The user must also ensure the macro's parent macro-group is enabled.

System Information
  • macOS 14.5 (23F79)
  • Keyboard Maestro v11.0.3

EDIT: Now that I see @ComplexPoint's N most recently run macros (Name, UUID, Stats), I could create a more robust version if the Prompt With List entries were in the following form:

MacroUUID__MacroName**

**To be bulletproof, my improved version should be able to accommodate macro names that include consecutive underscores.


2024-09-04 EDIT: I've shared an improved version of the macro: Edit a Recently Executed Macro

1 Like