I make extensive use of applications that present application menu bars in a pop-up contextual menu, invoked by keyboard shortcut and/or mouse click, at the mouse location (see screenshot). I use two large monitors; having the ability to access the application menu quickly is very handy. The only applications I have found to implement this haven't been updated in quite a while and seem to be abandoned. In all these applications, keyboard shortcuts shown in each menu item are frequently incorrect. I learn keyboard shortcuts, or more frequently have my memory refreshed, by seeing them in the menus.
Perhaps there is a way to accomplish this with Keyboard Maestro, but I have not been able to figure it out. Hopefully someone knows how, If not, I would very much appreciate if the ability were added to Keyboard Maestro.
Thank you for the reply. I do use Better Touch Tool, but it is one of the applications that display incorrect keyboard shortcuts. I've contacted the developer, but it's been an outstanding bug for quite a while. I was hoping Keyboard Maestro would "take it on"!
I'm sorry I don't understand what you mean by that "...that display incorrect keyboard shortcuts"
However, if you want to call the BTT action "Show Menubar in Context Menu" with a working shortcut, you can use the following AppleScript:
The attached screenshot shows the FInder's View Menu, specifically the Sort By submenu. Next to each of the menu items is the keyboard shortcut which invokes the menu item. I just now attempted to create a screenshot of Better Touch Tool's contextual menu of this Finder Menu, because the keyboard shortcuts it shows are not the correct ones. However, to my surprise, BTT no longer shows keyboard shortcuts in it's menus. I recently upgraded BTT, which is presumably the reason. The change is likely the developers response to my reporting the bug in BTT.
I had hoped this could be implemented in Keyboard Maestro; given the quality history of KM, I was sure that if it was, it would be done correctly.
Thank you for taking the time to respond and for the AppleScript tip.
There used to be an app that provided the functionality sought in the original post. All this time I have not been able to remember that app's name. But today I learned of a new app, Paletro, which isn't quite the same but may be better than nothing. A hot key brings up a Spotlight-style palette, and from there the user can type any menu command. More here:
The long-forgotten app I was trying to remember is DejaMenu. Hasn't been updated since 2007. But without testing, it looks like MenuPop or MenuEverywhere provide the system menu bar in a pop-up. But it's hard to determine from the developer page if these are still functional on newer OSes since the last update was in September 2016.