Jump to content

DavidK

Member
  • Posts

    35
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by DavidK

  1. Great, glad it is useful! Sometimes simple is best.
  2. Just updated the workflow to support both Expandrive 3 as well as Expandrive 4. It seemed to work fine in the trial version for me, but please let me know if you have any issues!
  3. I'll look into an update later this evening. I haven't upgraded to ExpanDrive 4 yet, but will download the trial and see what's changed.
  4. You're welcome, glad it's useful!
  5. Tyler's workflow works great, but if you are looking for an offline version, don't want to sign up for a Wolfram Alpha API key, or want to customize the output, check out this workflow I just posted. http://www.alfredforum.com/topic/4135-area-code-search/
  6. Description Look up an area code location using the 3 digit code, or the city / state name. Links Download GitHub Project Page My other workflows on GitHub Notes This version doesn't require internet access for basic lookups. Area code file can easily be edited to fix or change city names, or even add new area codes in the future. The extended view can be accessed by pressing enter on a result. This will open the default browser to a page with more information. I had considered using the API for allareacodes.com, but there were some limitations to that approach. (It only returns state name, not a city name. Can't customize output, etc.) I can add support if people think it would be valuable. Screenshots Lookup via Area Code Lookup via City Name
  7. FYI, I just updated this workflow to be compatible with the latest build of ExpanDrive 3. (3039)
  8. Interesting idea. I just tested it, and this code snippet will skip a song if it's rated below 3. Add the code below after the following line in the bash script. "osascript -e "tell application \"iTunes\" to set rating of current track to $rating" if [[ "{query}" < 3 ]]; then osascript -e "tell application \"iTunes\" to next track" fi
  9. Links Download GitHub Project Page My other workflows on GitHub Notes Now supports ExpanDrive 4! Requires ExpanDrive 3.x or later, and Alfred 2.x The ExpanDrive Terminal Utility must be installed to use this workflow ExpanDrive Manager > Settings > Terminal Utility > Install If the Terminal Utility is installed in a location other than /usr/bin, edit the path on the first line of the script filter within Alfred 2 under the ExpanDrive workflow with the full path to the expan utility. Screenshot
  10. Rate iTunes Track - http://www.alfredforum.com/topic/375-rate-itunes-track
  11. Send URL - http://www.alfredforum.com/topic/538-send-url/
  12. Good point David. In this particular workflow, the latest version is linked in the top post as well as the latest github page. I'll edit the other posts in this thread to avoid any confusion.
  13. Got the download link working - for some reason it wasn't working in Chrome, but fine in Safari. Nice job on the workflow!
  14. FYI - I'm geting the following error when trying to download from your droplr link. AccessDeniedAccess denied
  15. Updated workflow to show data in the Alfred window immediately, as well as in Notification Center if the user hits "enter". Latest can be downloaded here: https://github.com/dklem/Alfred2-Wireless-SSID
  16. Okay, updated the script again, and it seems to be significantly more reliable for me. Split out the Information panel from the "Action" panel. Seems that the {query} wasn't being passed correctly unless the applescript finished completely. So, if you are a fast typist, and typed "rate 5" too quick, it wouldn't pass the proper parameter to the rating script. That's all fixed with the 2 panel view noted in the original post. Also, added support for hotkeys to rate the current track. Feel free to set those to whatever feels appropriate for you. Latest (and final?) version can be found in the post at the top.
  17. The newer versions of the Alfred 2 beta now provide a iTunes Commands action, which will allow you to set the rating of a song via a key combination. So, for instance you could set the control-command-4 key combination to rate the current song 4 stars. Unfortunately, the iTunes Commands Actions don't support 1/2 stars. However, the second bash script in my workflow does allow it. You can easily add hotkeys to support any ratings you want, and just link them to my second script like in the picture below: In this example, I used command-option-4 to set to 4 stars. To address your second request, that's fairly simple as well assuming you don't need half stars. See below for an example: With that said, I've been noticing some slowness and misfires due to the Applescript not completing quick enough. Basically, typing "rate 5" and hitting enter faster than the applescript can run will produce unexpected issues and will not always rate the track properly. (perhaps causing the 1/2 star issues you were seeing) I've got a really good idea to address this, but just need an hour or so to sit down and code it. I'll see if I can work that out later tonight. Dave
  18. I had no idea iTunes even supported half stars, though I guess it makes sense based on the X/100 scale iTunes uses for rating. Great, now I'm going to be combing through my iTunes library and re-rating everything! With that said, I updated the extension to support half stars. Seems to work fine, but would appreciate any comments or test cases I might have missed. Latest download links can be found in the top post.
  19. Updated this to match the default output format used in Notification Center by Alfred for other iTunes actions.
  20. Here are two options: Mikegrb posted a good "selectable" output workflow: http://mikegrb.com/2013/01/18/alfred2-audio-device/ I helped rewrite a "Select next available output" workflow that might work for you as well: http://www.alfredforum.com/topic/407-next-audio-output-device-request-for-help/?p=2089
  21. Glad you ended up converting it to a workflow, since this was one of my most used v1.0 extensions! My only issue is that this version is quite a bit slower than the Alfred 1.0 Extension, mainly since it needs to "Find supported applications" before you can hit enter. For instance, if I'm in Chrome and I start Alfred and type "url saf" to send it to Safari, I need to wait a second or two in order for the script to filter the list. Any chance you could add another keyword input as an option so we don't have to wait for the "Script Filter"? Dave
  22. I've got a few different wireless SSIDs I end up connecting to, and generally want a quick view to make sure I'm connected to the right one. I threw together this quick workflow that will display the SSID, channel, and maxRate for the currently connected wireless network. https://github.com/dklem/Alfred2-Wireless-SSID
  23. I rewrote the functionality you are looking for using some bash trickery instead of Ruby. Seems to work fine in my setup, but feel free to test it out and let me know if there are any issues! http://d.pr/f/fB3c
  24. Invoking Alfred, and then typing the following works fine for me: > cd /etc; sudo vim hosts From within your workflows, it looks like Alfred uses the following Applescript to process the ">" action. Should be easy enough to duplicate and use in your own workflows. on alfred_script(q) tell application "Terminal" activate do script q end tell end alfred_script
×
×
  • Create New...