roeybiran / finbar-issues

Finbar feedback
https://www.roeybiran.com/apps/finbar
MIT License
1 stars 0 forks source link

Ability to activate a menu #23

Open mfilej opened 1 week ago

mfilej commented 1 week ago

I felt like I shouldn't lump this suggestion into the other issue, so I'm opening a new one.

While I was trying out accessing menus with AppleScript, I noticed how you can programmatically click on a menu, without clicking on any menu items.

Since I'm in Safari, let's take for example the File → Export menu: CleanShot 2024-11-07 at 08 42 54@2x

From here, I can use the right arrow to go into the menu and then use up/down arrows to select the respective items.

I thought having the ability to activate a menu (not the final menu item) would make Finbar even more universally useful.

Right now, if I search for "Export" in Finbar, it will find the menu and pressing narrows down the results (as expected).

What I'm proposing is an alternative action (let's assume for the sake of the discussion) that would open the selected menu, as shown in the screenshot above.

This would give users an additional way of accessing inaccessible menu items (such as Signature in Preview) by activating their parent menu and then navigating to the destination using arrow keys.

I hope this makes sense! I don't know if there are that many inaccessible menu items in macOS to warrant a new feature, but I wanted to share my thinking. Feel free to close this issue at any time.

roeybiran commented 4 days ago

Probably a duplicate of #18.

As I said over there, implementing this as described would be difficult — there’s no API for “revealing” menu item so we’ll to send actual keystrokes to the front app, and also “wait” between them for the sub menus to appear. This could be slow and very prone to errors. But since this is an often requested feature, I’ll definitely do some experiments!

And anyway, I’m working on a feature that hopefully you’ll find just as good and doesn’t involve that tricky workaround.

Thanks!