PURPOSE
Here's a common scenario for me...
I'm creating a new macro (or modifying an existing one) and I want to test a sequence of actions in a test macro. But I don't want to clutter the existing macro group with the test macro.
I created this macro to address that need. When triggered, this macro opens a specified test group and creates a test macro with these actions.
If one or more actions are selected in another macro when this macro is triggered, those actions will be copied and pasted below the actions displayed above.
MACRO SET-UP
-
REQUIRED: Open the macro and set local_DestinationGroupUuid value to match an existing macro group.
-
I trigger this macro from a Keyboard Maestro palette, thus no trigger has been configured. Optionally add a macro trigger.
MACRO USE
After completing the steps in the above section:
-
Optionally select one or more actions in an existing macro.
-
Trigger this macro.
A new test macro will be created in the destination group. After inspecting the contents of the new macro, review the SETTINGS and optionally change any to match your requirements.
SETTINGS
The macro includes the following settings. Most can stay unchanged but, before use, the first one must be changed to match an existing destination group.
local_DestinationGroupUuid : Change this value to match an existing macro group.
local_MacroName : %ICUDateTime%yyyy-MM-dd HH:mm:ss% (e.g., 2026-08-24 18:05:30)
local_GroupActionName : default = āā Tš²šš š š®š°šæš¼ āā
local_CommentActionName : default = %Variable%local_MacroName%
local_CommentActionNote : default =
MyLastName
Test Macro
local_CopyAndPasteSelectedActions : 0|1, default = 1 :
TESTED WITH
⢠Keyboard Maestro 11.1.1
⢠Tahoe 26.6.1 (25G76)/MacBookPro18,2
VERSION HISTORY
1.0 - Initial version
Download: Create a Test Macro and Select It.kmmacros (65 KB)
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 26.6.1 (25G76)
Keyboard Maestro v11.1.1

