Re-order selection window items with repeating shortcuts

Hey BTT community!

I have the same shortcut (hyper-C) assigned to different actions. Whenever I press hyper-C, a selection window appears prompting me to choose which action I want to execute:

I would like to be able to re-order the selection window items, for example, have Google Calendar appear in fourth place, rather than in first. Can it be done?

Thank you!

they appear in the order of your hyper c triggers in BTT. However a more flexible approach would be the “Show Context Menu New” action

Thank you Andreas. I have been playing with the “Show Context Menu New” action, and ran into a curve ball. How to set up a key to trigger the group "Gmail"?

Also, @Andreas_Hegenberg, is there a way to make that Context Menu bigger or customize its appearance in some way? I'm basically looking to get a Floating Menu triggered by a keyboard shortcut, and be able to trigger each menu item with a key, just like in the “Show Context Menu New”. Thanks!

no, the system menus can not be customized further. You‘d need to use a floating menu for this.
(they can be shown via keyboard and items can be triggered via keyboard as well, I can post an example later!)

I would love that Andreas, thank you!

And, if you can, please include in your example a "Group" also triggered via keyboard as well, so that I could build "sub-folders" of shortcuts. Danke!

can you describe what exactly you mean by group? Then I can include it

Yes, a Group like in the native context menu. Here the group is called "Gmail actions" (I would love it for it be triggered via key - for example, number 6 - and then once expanded it would open access to the sub-shortcuts in that group):

1 Like

Here's the configuration file, if you need it @Andreas_Hegenberg :
exported_triggers.bttpreset (26.3 KB)
:folded_hands:

Apologies for the spam, @Andreas_Hegenberg . I'm also intrigued if the Floating Menu could be set up in such a way so that menu items could be accessed via fuzzy search as well (like Raycast - its many items can be accesed by both fuzzy search and via keyboard with CMD-1 to 9)

This will be supported soon, currently you’d need to use the „choose from list“ action. I‘m working on a search field for floating menus that will allow to trigger by searching

1 Like

Great to know, can't wait for that feature.

I went ahead and tried the Choose From List action and I think I came across a bug. The fuzzy search bar loses focus once you are inside a Group / Folder.

Search bar focused here:

Once I'm inside "Group 1", the focus on the search bar is lost:

I‘m currently not on my mac to test but it should auto focus the field again once you type. But definitely possible there is an issue !

Got it! I would be grateful if you could check that Choose From List behavior, whenever you can.

And, of course, if you could share that example with the Floating Menu with items and groups triggered via keyboard, I would really appreciate it @Andreas_Hegenberg .

Here is an example preset (it shows the example menu when pressing cmd+opt+k, then allows you to either use arrow keys, tab or cmd+1, cmd+2 or cmd+3 to select the items)

keyboard_example.bttpreset (63.4 KB)

Setup for these kind of things is currently a bit complex, I made a quick video:

https://vimeo.com/1092102919?share=copy#t=0

Thank you so much @Andreas_Hegenberg , that helps a lot!
I see, however, that like in the "Show Context Menu New" action, the "Submenu" can't be triggered via key.

My desired behavior would be to assign "cmd+4" to the "Submenu" item, then that would reveal this screen:

with the sub-items.

Is there any workaround that comes to mind to achieve it?
Again, thank you!

you can do that using the "Open Specific Submenu In Floating Menu" action:

Sorry for the delays, had a lot of things going on the last few days.

No worries @Andreas_Hegenberg ! That works! We're almost there!
So we start from here:

  1. when pressing cmd+opt+k it shows the example menu

  2. when pressing cmd +4, it enters the submenu

  3. I have a created a new conditional activation group to target the "submenu":


    based on the submenu's identifier:

I've mapped the submenu items with the keyboard hotkeys:
-backspace for "Go Back" sub-item
-cmd+1 for the first sub-item
-cmd+2 for the second sub-item
-cmd+3 for the third sub-item


  1. Now when I'm inside the submenu, meaning when I see this screen:

cmd+1-3 triggers the first-third item of the top menu (granted it's the same hotkey, but I was expecting cmd+1 to trigger the first item of the submenu when I'm inside it, etc etc.).

  1. Another undesired behavior is: even if I click on an item of the submenu and press cmd+opt+k to toggle off the menu, pressing cmd+opt+k to toggle on the menu again brings me inside the submenu again instead of starting in the main menu (desired behavior).

Here's my whole config:

floating menu.bttpreset (60.1 KB)
keyboard_example_export.bttpreset (7.9 KB)
keyboard_example_sub_export.bttpreset (7.9 KB)

Sorry for annoying you with this Andreas, but I see so much potential here and I'm really trying to crack this…

Ah I think submenus are currently not included in the visible_floating_menu_identifiers. I'll add them there. Currently the only option would be to set a variable when opening the submenu, but I should be able to add the submenu identifiers later today.

Instead of using submenu you could also make it open a separate menu if that would be better for you.

Ah, I see! In that case, if you could add the submenu identifiers, I think that would make the workflow easier and also fits better with the way I perceive a submenu, rather than creating a separate menu as a submenu :slight_smile: