Feature Request: Warning about a Hot Key conflict

@Nige_S , your macro is super, of course, not to mention infinitely more straightforward and to the point of the original problem.

The interface is inspirational!

getmacros has an "active" key on every macro in addition to the enabled key.

I haven't tried it yet, but I assume it allows for a contextual query for getting results similar to gethotkeys.

The getmacros is a tad slower than gethotkeys, probably due to having load disabled macros and additional information.

I guess with the course of the discussion I got focused on that and drifted from the "conflict" issue.

It's interesting to see applications of the resources of the two plists.

Anyway, here is second version of the previously posted version (now plural)

I hope it provides a bit more of a "code interface" in addition to a multi-hotkey set search feature.

The macro now uses all hot key triggers of a specified macro to search for shared triggers.

A macro may be specified by setting the variable, localMacroId, to the id of a macro.

To directly search for multiple hot key sets, set the variable,localHotKeyCombo, to a linefeed delimited list of hot keys.

If both variables are empty, the hot key triggers of the first macro selected in the Keyboard Maestro Editor will be searched.

I think the original version did not select the prompt choices in the editor. This one should do that now.
Secret Sharers.kmmacros (20.8 KB)

1 Like

I'll admit I've no clue on how to properly query the plist in that way -- hence my reliance on text search/manipulation on the simpler gethotkeys output!

So I'm going to dig into your macros later to try and get a clue :wink:

I am embarrassed to having you poking around my code.:pray:

So as a distraction, I'll add that the true practitioner of queries is likely @ComplexPoint , who might have a deft xpath query up his sleeve that reveals all. :crystal_ball:

I'm thrilled that my request has prompted such a spirited and rewarding discussion. Thank you all!

3 Likes

Hi
I had similar situation, and found a nifty app that let you see "all possible shorcut key combos" simply by holding down the CMD key (for a tiny while.
it is called KeyCue (from ergonis.com)
GreyT

Alternatively, there's KeyClu, not open source but free. The dev made it after CheatSheet was discontinued.

OK then
AND KeyCue is simpler to use, because you only need to press CMD once :thinking: :crazy_face:

I'm not sure I understand your response? I merely offered a free alternative software that does the same thing, inluding pressing ⌘ once, as the $30 software you recommended. CheatSheet is even easier than both of them, but it's no longer being developed—it can still work on some systems though if they're old enough.

Fun fact: while KeyyCue isn't open source, the Keyboard Maestro Engine command gethotkeys was made for KeyCue.

(@Nige_S choice to use gethotkeys data in his macro was spot on.)

It's kind of great to know that KM users have access to one of, if not the, source of KeyCue's data. :upside_down_face: What the implications are of that are yet to be determined. :wink:

FWIW, another version of my previous macro (uses getmacros data)

It is now possible to specify these search scopes when you search for shared hotkey triggers:

all
active
disabled
enabled

Just set the variable localQueryScope to one of them.
Secret Sharers - scope options.kmmacros (22.2 KB)

1 Like

No hard point was intended.
I use keyCue, which is great for my purpose, and I also use, many time each session their Typinator app. ( will insert any saved name / text portion upon type the shortcut key. This saves time and ensures that misspellings does not happen)

I find both excellet and for me worth the onetime sum. But most of all they give eccellent response to any question I may ask, concerning their software.