Jump to content

asfrank16

Member
  • Posts

    9
  • Joined

  • Last visited

Posts posted by asfrank16

  1. Here is what I get:

     

    [ERROR: alfred.workflow.input.scriptfilter] Code 1: /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/open-uri.rb:353:in `open_http': 400 Bad Request (OpenURI::HTTPError)

    from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/open-uri.rb:709:in `buffer_open'

    from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/open-uri.rb:210:in `block in open_loop'

    from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/open-uri.rb:208:in `catch'

    from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/open-uri.rb:208:in `open_loop'

    from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/open-uri.rb:149:in `open_uri'

    from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/open-uri.rb:689:in `open'

    from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/open-uri.rb:34:in `open'

    from /Users/adamfrank/Library/Application Support/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.CF5444F0-A77A-4022-8010-679B9CE17075/forecaster.rb:21:in `forecast'

    from /Users/adamfrank/Library/Application Support/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.CF5444F0-A77A-4022-8010-679B9CE17075/forecaster.rb:8:in `forecast'

    from forecast.rb:60:in `<main>'

  2. Thank you.  The Config part now works.  However I have entered the api code, but when I type forecast, it again gives me the default search engines.  Not sure if I am missing something or not.  I got the api from the forecast.io link and entered it into the config.  I also tried the google api as well, and that did not work either.

  3. It gave an error.  here is the gist of it:

     

    [ERROR: alfred.workflow.input.scriptfilter] Code 1: /Users/adamfrank/Library/Application Support/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.6D4896F1-26C2-4E79-9DF2-F3D68D7F0A89/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.0/lib/alphred/config.rb:20:in `initialize': No such file or directory - /Users/adamfrank/Library/Application Support/Alfred 2/Workflow Data/com.kejadlen.forecast/config.json (Errno::ENOENT)

  4. Yes it does.  When I begin to write config-forecast into alfred it shows the config item - but if I hit return, it completes the title in alfred and then lists search engines underneath.  Same if I type the whole string (config-forecast)  - as soon as I type the last "t" it immediately gets rid of the config-forecast item below the entry box and just lists search engines.

     

    I tried deleting the workflow and re-downloading the one from the link you provided and get the same result.

  5. I have been trying to use a script to create an email with the entered query as the subject.  Everything seems to work perfect except that the subject is printed as {query} as opposed to the actual terms that I enter after the keyword.  Any help would be appreciated.  I have it setup that on the keyword it runs the NSapplescript and this is the script:

     

     

    on alfred_script(q)
     tell application "Mailplane 3"
    set theSubject to "{query}"
      set m to make new outgoing message with properties {directlySend:true, optimizeAttachments:true}
      tell m
          set r to make new to recipient at end
          tell r
              set address to "email address"
              set name to "name"
          end tell
          set subject to theSubject
          set content to " "
      end tell
      compose m
    end tell
    end alfred_script
     
    Thank you.
×
×
  • Create New...