benziahamed / menu-bar-search Goto Github PK
View Code? Open in Web Editor NEWQuickly search through menu options of the front-most application - Alfred Workflow
Quickly search through menu options of the front-most application - Alfred Workflow
Let's say there are two types of apps:
Would it be possible to add a config that for some selected apps in the first category would allow setting custom cache option (always use if exists) with custom menu/sub-menu depth (you'd basically set each to ∞ since it's only used once per app and then cached)?
(maybe cache could be auto-invalidated when app version changes, but that might be an unnecessary overcomplication)
Another potential improvement to get the best of both worlds (caching and dynamic items): is it possible to parse the whole menu only once, but also store specific paths that are dynamic and on each launch only update those paths while reading everything else from cache?
Hello,
For those using macOS with a different language, it would be nice to filter menu results with a diacritic insensitive search.
Given this list of services:
Running m qr
in Alfred finds and allows me to run the "Generate QR Code" service. However, when I do that, Menu-Bar-Search actually runs the "Compare Text in Kaleidoscope" service.
Oddly, if I try running m qr
again, it runs the QR code service as expected.
This only seems to affect services; other menu items always work as expected.
Running Menu-Bar-Search 1.7, Alfred 4,6 and macOS 12.0.1.
As per Alfred debugger:
[12:08:07.131] Logging Started... [12:08:20.620] Menu Bar Search[Script Filter] Queuing argument 'syn' [12:08:20.748] Menu Bar Search[Script Filter] Script with argv '(null)' finished [12:08:20.753] ERROR: Menu Bar Search[Script Filter] Code 5: Exited with error code but no message [12:08:21.283] Menu Bar Search[Script Filter] Queuing argument '' [12:08:21.402] Menu Bar Search[Script Filter] Script with argv '(null)' finished [12:08:21.410] ERROR: Menu Bar Search[Script Filter] Code 5: Exited with error code but no message [12:08:21.412] Menu Bar Search[Script Filter] Queuing argument 's' [12:08:21.518] Menu Bar Search[Script Filter] Script with argv '(null)' finished [12:08:21.524] ERROR: Menu Bar Search[Script Filter] Code 5: Exited with error code but no message [12:08:21.617] Menu Bar Search[Script Filter] Queuing argument 'sy' [12:08:21.671] Menu Bar Search[Script Filter] Queuing argument 'syn' [12:08:21.730] Menu Bar Search[Script Filter] Script with argv '(null)' finished [12:08:21.736] ERROR: Menu Bar Search[Script Filter] Code 5: Exited with error code but no message [12:08:21.834] Menu Bar Search[Script Filter] Script with argv '(null)' finished [12:08:21.844] ERROR: Menu Bar Search[Script Filter] Code 5: Exited with error code but no message
Hey, I can't understand why I am not getting any results? I created a hotkey, can run the workflow, but no matter what I type after returns nothing. I tried making the m command optional and required, tried the ms command as well, no results.
Could you please help me figure out what the problem is? Thank you!
Running this on a mac, intel processor, MacOS Big Sur 11.5.2.
Alfred shows is "Is accessibility enabled for alfred?" despite it being enabled, when running the workflow
This workflow works excellent except some items of obsidian. When I open obsidian and use menu-bar-search in alfred, the items of "format"(for example bold font) don't work. But obsidian operating normally. And other items of "window"(for example minimize window) in menu-bar-search work well. The following mov is an example:
I would like to use the Workflow for quick filing my Mails. Apple Mail has menus for "Move to" and "Copy to". Is there a way to filter only stuff inside on of this menus? For example: "Move to > IMAP-Folder". The fuzzy search seems not to use menu paths. I already tried "move/IMAP-Folder" and "move > IMAP-Folder".
Catalina will show a "Can’t be opened because Apple cannot check it for malicious software" error with no way to run the included menu
executable.
To circumvent this: Open Alfred preferences, right-click on the workflow, Open in Terminal, xattr -rd com.apple.quarantine menu
– this will remove the quarantine attribute. Seems like it does work quite well on Catalina otherwise.
It should be app: "Safari"
but app: "com.apple.Safari"
. And also you should say that the settings are case-sensitive.
Great workflow! I'm running AirMail mac v 3.6.71 and the menus are incomplete. Some of the menus are available (e.g. "About Airmail") but others aren't (e.g. anything in the Messages menu like "Get Mail" or "Forward"). Thanks!
The 1.7 version is not working at my intel mac, so I had to install the 1.6 version.
But the 1.6 version is not working at my m1.
This workflow doesn't seem to work in Catalina. I get an error that reads, "'Menu' can’t be opened because Apple cannot check it for malicious software. This software needs to be updated. Contact the developer for more information."
The workflow is capable of parsing the menu items in Vivaldi browser, and I can select a given command within Alfred's search bar, but then it has no effect
Hi thanks for this, Ive been using it daily for some time. I do animation and use some apps which have large numbers of menu entries. Sadly menu bar search fails on many of these items as a result of the limitation you mention in the Airmail bug post:
"there is a limit of 40 sub-menu items it will display (mainly done for speed)."
Would it be possible to change this limitation for instances where the workflow fails to cover all menu items?
I am using Big Sur on Intel iMac, the workflow doesn't work anymore after I upgraded the version to 1.7, I had to revert to 1.6 now.
Hi,
At some point over the past few months I've noticed that not all menus load all the time. In PHPStorm, there is a main menu item titled "Close Project". It doesn't appear in the workflow anymore. If I manually reopen the File menu in PHPStorm, that seems to trigger something and then it appears in the workflow.
Also I used to be able to type "CP" for "Close Project", but now that no longer works. I can type "Close P" but not "CP. thx for the great work!
@BenziAhamed have you considered including the source like ctwise does in his repository? That way others could submit improvements, review the code, and/or further fork the project.
Is there a way to search through the menus of menu bar apps?
When I search for something on the browser menu, the results include history and bookmarks. Can you create a feature where I can disable some menus that I don't want to show up in the results?
Hope to hear from you soon
Thank you very much
Hello
menu executable does not support ARM architecture.
Hi, first off thank you for a most excellent workflow!!!!!
I wondered if you had thought of adding an update notifier or auto-update mechanism? I know of at least @vitorgalvao's OneUpdater: https://github.com/vitorgalvao/alfred-workflows
When using RubyMine 2021.3.1 the "Find in Files" menu nor the "Reformat" options are not available in the json response. I have some work to do but would be willing to get the cache and dump once I have some time this week.
PS: I love this workflow. One of my favourites. Means I don't have to remember key shortcuts at all ;)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.