API to search Menu Bar Icons
Description
Since I have some icons and the most are overlay with the menu of an app it is complicated to find an app icon in the menu bar. Also some apps only open the GUI when I click on the menu item, but when I open the app via Raycast, there is no GUI shown.
I like to have a API to list of apps running and having an menu bar icon. I like to search in Raycast for the icons, and when I selected, then it should hit the menu bar icon so that the GUI opens.
Example Apps with this behaviour:
- Docker
- Mountain Duck
- Elgato Wave Link
and more...
API:
- get all apps which have an icon -> MenuBarApp
- simulate a click on the icon -> MenuBarApp#click
Who will benefit from this feature?
All user which no like to search for a menu bar icon. I have the workaround with the app "AccessMenuBarApps" but it is still complicated, because sometimes it hides the menu bar on the macbook screen (problem: no icons displayed left from the notch) or on the external screen (good, because icons are visible here). Sometimes the AccessMenuBarApps app is crashing.
I just want a search for the app and then simulate a click on the icon.
Anything else?
No response
This would be great, something to search for stuff in the menubar ala bartender within Raycast.
maybe instead of an api:
- when an App has an Icon there should be action in the actions menu (cmd+K) to click on the menu bar icon instead of "just" an
open Application
I am working on this using Bartender. Allows activating, left, right, opt left, opt right clicking any icon in the bar. Also allows defining shortcuts, where you can chain keypresses after clicking. For example, I jump between a couple Karabiner keyboard profiles by left clicking, down key, return key.
Hoping to have code pushed before this weekend.
Closed by #17941 🚀
Nice solution, but I don't want to install extra apps just for this.
Also, the fact that Bartender was sold to some unknown buyer without any announcement is a total no go.
I’d rather like to have an API from Raycast itself for search and click, or at least a way to list all running apps with a flag showing if they have a menu bar extras icon.