vinh0604
-
Posts
3 -
Joined
-
Last visited
Content Type
Blogs
Gallery
Downloads
Events
Profiles
Forums
Articles
Media Demo
Posts posted by vinh0604
-
-
Hi, I created a simple Alfred workflow for units and currencies converter.
The units converter only calculate locally so it's very fast. For the currencies converter, I use the free API http://rate-exchange.appspot.com/, because of the quota limit, sometimes it might not work
Here are some screenshots:
I'm quite new to Alfred Workflow development so if you see something not good, please tell me know
Download the workflow at: https://github.com/vinh0604/alfred-awesome-units-converter
Thank you.
-
Hello, I've just started to write Alfred workflow in Ruby with Zhaohai's workflow https://github.com/zhaocai/alfred-workflow
My workflow is pretty simple, it converts the inputted units using the gem 'ruby-units'
When I test the script in the terminal, it returns valid output for Alfred:
>> /usr/bin/ruby main.rb 10 cm in m <items><item arg='copy=0.1' uid='' valid='yes'><title>0.1</title><subtitle>Copy to clipboard.</subtitle><icon>icon.png</icon></item></items>
However, when running in Alfred, it only shows the fallback results (Google, Wiki, etc.)
Here is the gist contain ruby scripts and info.plist files of my workflow: https://gist.github.com/vinh0604/8725898
I'm pretty new to Alfred workflow so maybe I missed something to make my workflow works. Please help me if you have any idea about it
Thank you in advance.
Help: Ruby Workflow does not return feedback
in Workflow Help & Questions
Posted
Thank for your reply, David. Finally I figured out what wrong with my code, I must change the require bundler line from
to
Everything works ok now
By the way, here is my first Alfred workflow: http://www.alfredforum.com/topic/3825-alfred-workflow-for-units-and-currencies-converter/
I hope I can make something more useful in the future