zhaowu Posted September 25, 2013 Posted September 25, 2013 Keylue (Key Clue): Alfred 2 Workflow for Menu Bar and Keyboard Maestro Hot Key Search It is like KeyCue which helps you memorize or quickly launch hot keys. But it is still too much to pinpoint a shortcut from a 50+ entries with your eyeball. This workflow gives the freedom to search and filter the results and execute them from Alfred. Usage Just one keywords kc: Show menu items and Keyboard Maestro hot keys. Hit Enter to execute. The feedback results for each application are cached for speedy response. The cached results are reloaded if it is older than an hour. To refresh staled feedback, append ! after the keyword. For example, kc ! query. Installation You can download the Keylue.alfredworkflow and import to Alfred 2. This method is suitable for regular users. For more instruction, go to http://zhaocai.github.io/alfred2-keylue-workflow/ Reference - Menu Search - ctwise/menudump [KeyCue]: http://www.ergonis.com/products/keycue/ 40-02 1
zhaowu Posted November 18, 2013 Author Posted November 18, 2013 update to support Keyboard Maestro macros
tsvoronos Posted August 18, 2014 Posted August 18, 2014 Hello, while "km" will show me keyboard maestro results, "kc" will only display menu results. How can I get "kc" to display keyboard maestro results as well?
raguay.customct Posted November 11, 2014 Posted November 11, 2014 Hi, Only km works. kc produces: # Logfile created on 2014-11-11 09:53:45 +0700 by logger.rb/41954E, [2014-11-11 09:53:45 #65537] ERROR -- me.zhaocai.keylue: A fatal error has occurred. You may seek help in the Alfred supporting site, forum or raise an issue in the bug tracking site. #<Psych::SyntaxError: (<unknown>): control characters are not allowed at line 1 column 1> /Library/Ruby/Gems/2.0.0/gems/psych-2.0.6/lib/psych.rb:370:in `parse' /Library/Ruby/Gems/2.0.0/gems/psych-2.0.6/lib/psych.rb:370:in `parse_stream' /Library/Ruby/Gems/2.0.0/gems/psych-2.0.6/lib/psych.rb:318:in `parse' /Library/Ruby/Gems/2.0.0/gems/psych-2.0.6/lib/psych.rb:245:in `load' /Users/raguay/Dropbox (Personal)/Richard/rag/Alfred/Sync/Alfred.alfredpreferences/workflows/user.workflow.A44F1970-1349-4255-B733-69929C2F6F84/lib/menu_items.rb:26:in `generate_items' ./main.rb:172:in `generate_menu_feedback' ./main.rb:102:in `on_feedback' /Users/raguay/Dropbox (Personal)/Richard/rag/Alfred/Sync/Alfred.alfredpreferences/workflows/user.workflow.A44F1970-1349-4255-B733-69929C2F6F84/bundle/ruby/2.0.0/gems/alfred-workflow-2.0.3/lib/alfred.rb:215:in `block in start_handler' /Users/raguay/Dropbox (Personal)/Richard/rag/Alfred/Sync/Alfred.alfredpreferences/workflows/user.workflow.A44F1970-1349-4255-B733-69929C2F6F84/bundle/ruby/2.0.0/gems/alfred-workflow-2.0.3/lib/alfred/handler.rb:126:in `block in each_handler' (eval):53:in `each' (eval):53:in `each' /Users/raguay/Dropbox (Personal)/Richard/rag/Alfred/Sync/Alfred.alfredpreferences/workflows/user.workflow.A44F1970-1349-4255-B733-69929C2F6F84/bundle/ruby/2.0.0/gems/alfred-workflow-2.0.3/lib/alfred/handler.rb:125:in `each_handler' /Users/raguay/Dropbox (Personal)/Richard/rag/Alfred/Sync/Alfred.alfredpreferences/workflows/user.workflow.A44F1970-1349-4255-B733-69929C2F6F84/bundle/ruby/2.0.0/gems/alfred-workflow-2.0.3/lib/alfred.rb:214:in `start_handler' /Users/raguay/Dropbox (Personal)/Richard/rag/Alfred/Sync/Alfred.alfredpreferences/workflows/user.workflow.A44F1970-1349-4255-B733-69929C2F6F84/bundle/ruby/2.0.0/gems/alfred-workflow-2.0.3/lib/alfred.rb:83:in `with_friendly_error' ./main.rb:332:in `<main>' This is since upgrading to 10.10.
politicus Posted December 10, 2016 Posted December 10, 2016 (Using Alfred 3) Either with "km" and "kc" as keywords, I get error messages. For example with "kc": [2016-12-10 13:50:53][ERROR: input.scriptfilter] Code 1: /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- bundle/bundler/setup (LoadError) from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require' from ./main.rb:7:in `<main>' [2016-12-10 13:50:56][ERROR: input.scriptfilter] Code 1: /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- bundle/bundler/setup (LoadError) from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require' from ./main.rb:7:in `<main>' [2016-12-10 13:50:57][ERROR: input.scriptfilter] Code 1: /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- bundle/bundler/setup (LoadError) from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require' from ./main.rb:7:in `<main>'
cands Posted January 1, 2017 Posted January 1, 2017 (edited) This works great for me in Alfred 3 (3.2.1, macOS 10.12.2), and it's speedy for most applications (for some reason Path Finder is quite slow). Thank you! Edit: I noticed that I see the same behavior as tsvoronos noted above. However, the way I use it I prefer to separate menu bar search and Keyboard Maestro search. Edited January 2, 2017 by cands
evanfuchs Posted October 20, 2017 Posted October 20, 2017 Any way to get this workflow working again on High Sierra? I read elsewhere it's an issue with Ruby bundles 1.8/2.0 in the workflow and High Sierra running v 2.3, but these words mean little to me.
deanishe Posted October 20, 2017 Posted October 20, 2017 12 hours ago, evanfuchs said: read elsewhere it's an issue with Ruby bundles 1.8/2.0 in the workflow and High Sierra running v 2.3 Usually, you can fix that by digging around in the workflow and renaming the directory the Ruby gems (libraries) are in to match the new Ruby version. So, if it’s called “2.0”, rename it to “2.3”. evanfuchs 1
nikivi Posted October 21, 2017 Posted October 21, 2017 (edited) Alternatively you can use this to search keyboard maestro macros and this for searching the menu bar quickly. I used Keylue before but replaced it fully with these two workflows. Edited October 21, 2017 by nikivi evanfuchs 1
evanfuchs Posted October 25, 2017 Posted October 25, 2017 Thank you. Both options worked I renamed the directory from 2.0.0 to 2.3.0 as @deanishe mentioned. Also experimenting with the two workflow @nikivi suggested.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now