Jump to content

Menu Search


Recommended Posts

Suggestion : If it could also display the default keyboard shortcuts along with the menu item.

See two comments above yours.

 

The shortcut keys can't be reliably extracted, hence the lack of display. The applications that display shortcut keys for applications exhibit similar problems, which is why at least one of them let you download custom shortcut lists. I believe the shortcut extraction can be improved slightly based on the results from the proprietary apps but I'm not sure how they're doing it.

Link to comment
  • 4 months later...

Is there any reason why this workflow wouldn't work in Photoshop CC?

 

It works on all other apps, including the previous version of Photoshop (CS6).

 

On CC, it correctly displays the menu items and searches through them. But when I select an item from the list, it doesn't actually trigger the menu.

 

Any help would be appreciated. And thanks for creating the workflow - I use it all the time.

Link to comment
  • 1 month later...

I am just now getting the error message "Error: The menu structure wasn't readable" but Alfred 2 is checked in the System Preferences > Privacy > Accessibility settings. I think that if I can somehow remove Alfred from this list and enable it through the permissions prompt again, it will start working again but there's no way to do this using the UI.

 

@ctwise, any ideas?

Link to comment

I am just now getting the error message "Error: The menu structure wasn't readable" but Alfred 2 is checked in the System Preferences > Privacy > Accessibility settings. I think that if I can somehow remove Alfred from this list and enable it through the permissions prompt again, it will start working again but there's no way to do this using the UI.

 

@ctwise, any ideas?

 

I had a similar problem with aText. I unchecked and rechecked it in Accessibility (did not have to remove it from the list) and it started working properly again, perhaps try that.

Link to comment
  • 1 month later...

Thank you for in-depth explanation, aitte, you’ve surely done your research here. However (I’ll be very brief), as a graphic designer myself, I certainly understand your reasoning, but to me personally, as a user, I find the link icon ugly and distracting, to the point that I my eyes focus only on it — I’m not exaggerating, here, my eyes are drawn to it constantly (similar reason to why I cannot stand Yummy FTP, I find its looks so atrocious that I simply cannot be comfortable using it). As a result, I’ve changed your patch to use another icon, which is why an option to change the default icon would be valuable to me.

Link to comment
  • 4 weeks later...

You, are a hero. thank you for this workflow! :)

One feature request: I'd like to use this without using a keyword. I want the results to this to appear by default.

Any way I could make that happen?

Also, I'm an interface designer, www.nimbling.com, if you choose to implement the shortcut icons, I'll happily create you a proper one :)

Link to comment
  • 1 month later...

Hey guys,

 

I am kind of new to this whole Powerpack thing so pardon me if I do not understand.

 

As far as I understood, this script allows us to search for and activate the menubar items for the current active application. While most of it works, in safari I cannot bring up the "Show History" menu item or the "Show bookmarks" menu items. In fact, typing in "bookmarks" into the script does not activate the Bookmarks section of the menubar. It just shows me options from the View and File menus (picture attached)

SJ164Xf.png

 

Is this an inherent limitation of the script when it comes to Safari? Or I am missing something blatantly obvious.

 

Thanks a lot for your help.

Link to comment

Is this an inherent limitation of the script when it comes to Safari? Or I am missing something blatantly obvious.

 

I think that it might be a feature actually. Menus are notoriously slow to render, and adding history items / bookmarks would make the utility go through thousands of more items, making it run terribly slow.

Link to comment

Is this an inherent limitation of the script when it comes to Safari? Or I am missing something blatantly obvious.

 

To complement Shawn's response, I've quoted the release notes found in the original post:

 

v1.2 - Skip the Safari History and Bookmarks menus. They take too long.

 

Hope this helps!

Edited by Tyler Eich
Link to comment

I think that it might be a feature actually. Menus are notoriously slow to render, and adding history items / bookmarks would make the utility go through thousands of more items, making it run terribly slow.

 

To complement Shawn's response, I've quoted the release notes found in the original post:

 

 

Hope this helps!

 

Thanks a lot guys. I knew I would have missed something. Should've read the release notes prior to bothering you guys.

 

Thanks anyways for pointing me to the right direction. Much appreciated!

Link to comment
  • 2 weeks later...

I'm not able to get this workflow to work for me. After entering the keyword, as soon as I start entering an argument, the command disappears and I go back to default searching. Any idea what could be going on? I already checked the accessibility setting, at least in the place Ted screen shotted. Thanks for any help anyone can give me.

Link to comment

I'm not able to get this workflow to work for me. After entering the keyword, as soon as I start entering an argument, the command disappears and I go back to default searching. Any idea what could be going on? I already checked the accessibility setting, at least in the place Ted screen shotted. Thanks for any help anyone can give me.

 

Open up the workflow and click on the debug button:

 

menu-debug.png

 

Then invoke Alfred and try a menu command, e.g., 'm file'. There should be some debug output in the bottom of the Alfred preferences window showing some kind of problem. Copy and paste the output in this discussion.

Link to comment

Thanks for the quick response Ted!

Heres my error message:

 

Starting debug for 'Menu Bar Search'

 

[ERROR: alfred.workflow.input.scriptfilter] Code 1: main.rb:4: undefined method `encode' for "m":String (NoMethodError)

[ERROR: alfred.workflow.input.scriptfilter] Code 1: main.rb:4: undefined method `encode' for "minimize":String (NoMethodError)

Link to comment

Thanks for the quick response Ted!

Heres my error message:

 

Starting debug for 'Menu Bar Search'

 

[ERROR: alfred.workflow.input.scriptfilter] Code 1: main.rb:4: undefined method `encode' for "m":String (NoMethodError)

[ERROR: alfred.workflow.input.scriptfilter] Code 1: main.rb:4: undefined method `encode' for "minimize":String (NoMethodError)

 

Ok, you can download an updated workflow from Packal or use this direct link - https://github.com/packal/repository/raw/master/com.tedwise.menubarsearch/menu_bar_search.alfredworkflow

Link to comment
  • 4 months later...

What a great improvement compared to older versions  :)

 

I know this is not the goal of this workflow, but is there a way to display the associated keyboard shortcut to the menu entry?

 

For example in Alfred Preferences: "Select All" -> "Cmd-A".

Edited by politicus
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...