zhaowu Posted March 21, 2013 Posted March 21, 2013 (edited) Please goto http://zhaocai.github.com/alfred2-ruby-template/ for detailed instruction. Suggestions are welcome! Example Projectsalfred2-top-workflow alfred2-google-workflow Main features:Use standard bundler to easily package, manage, and update ruby gems in the workflow. Friendly exception and debug output to the Mac OS X Console Automate rescue feedback items to alfred when something goes wrong. Alfred workflow and feedback related functions are located in a separate alfred-workflow gem which can be easily installed by addinggem "alfred-workflow" in the Gemfile. Functions for smart case query filter of feedback results. Functions for finding the bundle ID, cache and storage paths, and query arguments. Functions for reading and writing plist files. Functions to simplify generating feedback XML for Alfred. Functions to simplify saving and retrieving settings. Edited March 30, 2013 by zhaowu altryne and Ingolmo 2
zhaowu Posted March 28, 2013 Author Posted March 28, 2013 update: March 27, 2013 - Automate rescue feedback items to alfred when something goes wrong.
phyllisstein Posted March 30, 2013 Posted March 30, 2013 Awesome! Glad to see other options for standardizing workflows. I like the rescue feedback idea—mind if I take a look at how you did it and see if it can be Pythoned?
zhaowu Posted March 30, 2013 Author Posted March 30, 2013 Awesome! Glad to see other options for standardizing workflows. I like the rescue feedback idea—mind if I take a look at how you did it and see if it can be Pythoned? You are welcome.
evensr Posted November 17, 2015 Posted November 17, 2015 Hey, I’m working on a very simple workflow using the alfred2-ruby-template, but I haven’t figured out how to set custom icons for the items in the result list. I have the icons available in .png and .icns format in the workflow folder. This is an example of one of the items: fb.add_item({ :uid => "lessons" , :title => "#{wkresult.fetch("lessons_available")} lessons available" , :subtitle => "Action this to go to the lessons" , :arg => URI.escape("https://www.wanikani.com/lesson"), :valid => "yes" , }) How do I add a custom icon here? Thanks.
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