Jump to content

vinh0604

Member
  • Posts

    3
  • Joined

  • Last visited

Posts posted by vinh0604

  1. Thank for your reply, David. Finally I figured out what wrong with my code, I must change the require bundler line from

     

    require 'bundler/setup'

    to

     

    require './bundle/bundler/setup'

     

    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 :)

  2. 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:

     

    Screen%20Shot%202014-01-31%20at%205.56.3

     

    Screen%20Shot%202014-01-31%20at%206.36.1

     

    Screen%20Shot%202014-01-31%20at%206.36.3

     

    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.

  3. 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.

×
×
  • Create New...