I want a quick macro to go to a specific macro in my library

I have a macro named 'test' like so :

I want to make a macro that, would instantly go to this macro from keyboard maestro. I use @DanThomas's macros daily to navigate through macros and love it. But I want something instant, I press a hotkey and keyboard maestro editor will go to this macro from wherever it is.

Thank you for any help.

Either one of these will do:

Always use the macro UUID, because it's unique. You can get the macro UUID by selecting the macro, then going to Edit->Copy As->Copy UUID.

Here's the two AppleScripts:

tell application "Keyboard Maestro" to editMacro "35A2C3CB-E896-4D14-8859-BDDB10335DE4"
tell application "Keyboard Maestro Engine" to set macroUID to getvariable "TargetMacro"
tell application "Keyboard Maestro" to editMacro macroUID
3 Likes

Oh wow, I forgot abut macroUID. Thank you a lot Dan.

1 Like

@nikivi, if Dan’s post solved your problem, please check the “Solved” checkbox at the bottom of his post.