Keyboard Maestro Editor Megathread

I've updated the OP with Version 1.1 of Search All Macros.

Bug fix: incorrect smart quotes replaced with dumb quotes.

1 Like

Quick Tip: Put Links to Macros in Comments!

The above title is a link to a post by @DanThomas from Jan 2022 that I am finding useful in organizing and documenting my macros.

In my most recent use, I have a Conflict Palette of various Copy and Paste tools. One that I just added only works if a browser window is the active focus, so it needs to be in its own group with those settings. I have a link to that macro in a Comment in the group which contains the rest of the macros in the Conflict Palette.

2 Likes

I use this macro to rename an action.

Rename the action.kmmacros (30.9 KB)

I use hotkey โŒฅR to rename the selected action. I have noticed that as a result I'm more frequently updating the default action value which adds to maintainability.

4 Likes

Me too, @fap. With Keyboard Maestro v10.2 you can use Actions>Rename (โŒ˜R). I'm not sure about earlier versions of KM.

2 Likes

Hi, @August. Thanks for sharing. Based on other macros I've downloaded and used from the forum (no doubt some from @DanThomas), I knew it was possible to create such links. But your post today has inspired me to create a macro that automates the process.

Also, I'm slowly creating a group of utility subroutines and converting many of my macros to use them. The macro links Dan/you suggested come in quite handy if one wants to quickly view the called subroutines. So I did just that. See the header comment in the macro below.


MACRO: Macro Rich Link To Clipboard, v1.0

Keyboard Maestro Export


DOWNLOAD Macro File:
Macro Rich Link To Clipboard.kmmacros (21 KB)
Note: This macro was uploaded in a DISABLED state. It must be ENABLED before it can be run. If it does not trigger, the macro group might also need to be ENABLED.

Macro-image


4 ๐™จ๐™ช๐™—๐™ง๐™ค๐™ช๐™ฉ๐™ž๐™ฃ๐™š๐™จ Macros.kmmacros (42.0 KB)
Note: The four required subroutines were uploaded in the DISABLED state. They do not need to be enabled, nor does the enclosing group: .๐™จ๐™ช๐™—๐™ง๐™ค๐™ช๐™ฉ๐™ž๐™ฃ๐™š๐™จ

Subroutine-images




2 Likes

MACRO: Navigate to Configured Macro or Subroutine, v2.0

When an Execute a Macro, Execute a Subroutine, or Open a URL action is selected and this macro is triggered, the Keyboard Maestro editor will open the configured macro or subroutine.

For the Open a URL action, the URL must be formatted as follows:

keyboardmaestro://m=keyboardmaestro://m=UUID


DOWNLOAD Macro File:
Navigate to Configured Macro or Subroutine.kmmacros (34 KB)
Note: This macro was uploaded in a DISABLED state. It must be ENABLED before it can be run. If it does not trigger, the macro group might also need to be ENABLED.

Macro-image


4 ๐™จ๐™ช๐™—๐™ง๐™ค๐™ช๐™ฉ๐™ž๐™ฃ๐™š๐™จ Macros.kmmacros (34.4 KB)
Note: The four required subroutines were uploaded in the DISABLED state. They do not need to be enabled, nor does the enclosing group: .๐™จ๐™ช๐™—๐™ง๐™ค๐™ช๐™ฉ๐™ž๐™ฃ๐™š๐™จ

Subroutine-images





Navigate to Configured Macro or Subroutine also requires subroutine ๐—Œ.๐—บ๐—ฎ๐—ฐ๐—ฟ๐—ผโ‡พSelectedCount. It is available in the group of four subroutines posted with Macro Rich Link To Clipboard. If you have installed that macro and its required subroutines, then you already have subroutine ๐—Œ.๐—บ๐—ฎ๐—ฐ๐—ฟ๐—ผโ‡พSelectedCount.

2 Likes

How is this different from simply clicking on the Action name and then typing a new name? Is it merely that it gets you there with a keystroke instead of a mouse click, or am I missing something?

I donโ€™t think you can change the action name with a single click on the action... for me I have to right-click and then click Rename..., so having a hotkey is faster for me.

2 Likes

Yes, and the โŒ˜R keyboard shortcut* is already provided in the Keyboard Maestro application was configured by me in the macOS System Settings (formerly called the System Preferences). See my post below for more information.

*There's a potential point of confusion for new Keyboard Maestro users:

  • macOS Keyboard Shortcuts : Like the aforementioned hard-coded โŒ˜R; this is the term Apple uses in macOS for these key combinations.

  • Keyboard Maestro Hot Keys : This is one type of Keyboard Maestro macro trigger; they normally include modifiers like macOS Keyboard Shortcuts.

Clear as mud, right?

1 Like

Hi, @August.

Unless @cdthomer and I are missing something, a simple action click won't do it. BTW, a double-click does collapse/expand an action.

(As an aside: my personal preference is to always use the keyboard, if possible. I suffer from ergo pain when I overuse a mouse.)

My point above was that a macro is no longer needed to initiate an Action Rename by keyboard. [ EDIT: I've set a โŒ˜R keyboard shortcut in the macOS System Settings (formerly called the System Preferences). See my post below for more information. In that post, @cdthomer, cleared up confusion that I likely created. ]

For those that like to use a pointing device, there is another option: the action Gear Icon>Rename...

2 Likes

Say what? For me โŒ˜R activates the record a macro feature...

3 Likes

Hi, @cdthomer. Good catch!

Looky here, I had set these in the macOS System Settings (likely many months ago when they were still callel the macOS System Preferences).


BTW, Apple, please, please, please give us back the System Preferences? The new (and ugly) System Settings have caused nothing but heartache.


Sorry about confusion that I likely caused above. I will update my earlier posts. Thanks, @cdthomer!

3 Likes

Haha no worries, I initially thought maybe I had setup different keyboard shortcuts in the os preferences. :sweat_smile:

I use System Keyboard Preferences (Setting) this way for most application menu commands whose keyboard shortcut I want to change.

Some people are fine with using a KM select-menu macro, but I like to be able to look in the menu and see the keyboard shortcut. I also like the fact that they work when Keyboard Maestro isn't running.

2 Likes

Agree, @ccstone, but now that I look at my MBPro System Settings, I see that I havenโ€™t set up as many Iโ€™ve done on my Mac mini (running Mojave). Can I blame Apple for the butt-ugly System Settings?

Largely an advantage, but sometimes users forget that a keyboard shortcut isn't a default for the app. :joy:

You do that? :open_mouth:

1 Like

Thatโ€™s sacrilege around here. :sweat_smile:

3 Likes

Hell, yes!

Rarely if ever by choice...

:sunglasses:

3 Likes

Good to always remind people of that site; I have it in my Favorites.

Too bad Apple doesnโ€™t provide some bounty for bug discovery and reporting. (The bugs in iOS Shortcuts: :scream:. My index finger is still sore.)

1 Like

Automating the Keyboard Maestro Editor with AppleScript

The thread Automating the Keyboard Maestro Editor with AppleScript includes a wealth of information.

1 Like

Thank you for that kick in the pants. I've been meaning to change that for months -- โŒ˜R is so ingrained as "Run" that I'm forever starting a recording by mistake. No more!

3 Likes