Jump to content

DavidK

Member
  • Posts

    35
  • Joined

  • Last visited

  • Days Won

    1

Reputation Activity

  1. Thanks
    DavidK got a reaction from GatorMapi in Area Code search   
    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

  2. Thanks
    DavidK reacted to RandyH in Rate iTunes Track   
    I have really enjoyed this workflow and was disappointed when it stopped working with OS X Catalina.
    Fortunately, the fix turned out to be really simple...
     
    Just replace all instances of
    tell application "iTunes" with
    tell application "Music" Hope this helps.
    Randy
  3. Like
    DavidK reacted to roccitman in Area Code search   
    Exactly what I need!
  4. Like
    DavidK reacted to ssent1 in Area Code search   
    Very sweet. Lightweight and fast.
  5. Like
    DavidK got a reaction from surrealroad in Rate iTunes Track   
    Just finished a quick workflow to rate the currently playing track in iTunes. Simple usage, type "rate x" where x is the star rating you want assigned to the track. 
     
     
    EDIT:
    Now supports much better reliability, 1/2 stars, two panel display, and keyboard shortcuts.
     
    Latest version can be found here:
     
    http://d.pr/f/Oysk
    or
    https://github.com/dklem/Alfred2-Rate-iTunes-Track
     
     
    Screenshots:
     
     
  6. Like
    DavidK got a reaction from Tyler Eich in Area Code search   
    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. Like
    DavidK got a reaction from katie in Area Code search   
    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

  8. Like
    DavidK got a reaction from DJay in Rate iTunes Track   
    Just finished a quick workflow to rate the currently playing track in iTunes. Simple usage, type "rate x" where x is the star rating you want assigned to the track. 
     
     
    EDIT:
    Now supports much better reliability, 1/2 stars, two panel display, and keyboard shortcuts.
     
    Latest version can be found here:
     
    http://d.pr/f/Oysk
    or
    https://github.com/dklem/Alfred2-Rate-iTunes-Track
     
     
    Screenshots:
     
     
  9. Like
    DavidK got a reaction from iansited in Rate iTunes Track   
    Just finished a quick workflow to rate the currently playing track in iTunes. Simple usage, type "rate x" where x is the star rating you want assigned to the track. 
     
     
    EDIT:
    Now supports much better reliability, 1/2 stars, two panel display, and keyboard shortcuts.
     
    Latest version can be found here:
     
    http://d.pr/f/Oysk
    or
    https://github.com/dklem/Alfred2-Rate-iTunes-Track
     
     
    Screenshots:
     
     
  10. Like
    DavidK reacted to isometry in PLEASE VOTE: Your favourite workflows   
    Others have mentioned it already, but my ssh workflow is what I've wanted from Alfred since I first lumped for a Mega Supporter license in his infancy over two years ago. As soon as I found the new Script Filter object, I knew what I had to do. Having not yet found this forum, I started by reverse engineering David's PHP-based built-in Google Suggest workflow to figure out what my Python script had to output to get a result. D'oh 
     
    My pipe workflow isn't getting much love, probably because I haven't sold it very well, but I'm also using that *alot* to filter and transform text.
     
    Others I currently find myself using regularly:
     - Colors by Tyler Eich
     - Create OmniFocus Tasks by Aaron B. Hockley (great for adding a todo for an item in Gmail)
     - Movies by Simon Støvring (inspiringly awesome)
  11. Like
    DavidK got a reaction from a--m in Take action on multiple items (eg. Quicksilver's "The Comma Trick")   
    One feature I greatly miss from quicksilver is the ability to take action on multiple items. For instance, instead of invoking Alfred and typing "Mail" to start Mail.app, then invoking Alfred again and typing "Adium" to start adium - I'd love to just be able to type "mail,adium" and then hit enter to launch both applications.
     
    http://qsapp.com/wiki/Comma_Trick
     
  12. Like
    DavidK got a reaction from DJay in Next Audio Output Device + request for help!   
    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
  13. Like
    DavidK got a reaction from Enhorn in Rate iTunes Track   
    Updated this to match the default output format used in Notification Center by Alfred for other iTunes actions.
     

  14. Like
    DavidK got a reaction from OliverJAsh in Next Audio Output Device + request for help!   
    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
  15. Like
    DavidK got a reaction from OliverJAsh in Next Audio Output Device + request for help!   
    I don't know Ruby at all, but it shouldn't be too difficult.
     
    Looking at the documentation:
     
    "SwitchAudioSource -c" shows the current device
    "SwitchAudioSource -a" shows all devices
     
    Assuming the -n flag just chooses the next device in that list, you could easily just load the names generated by "-a" into an array. Then it's just a simple compare to find which array index matches the current device, say "n", and then print "n+1" as the next device.
  16. Like
    DavidK got a reaction from OliverJAsh in Next Audio Output Device + request for help!   
    Seems to work well for me, nice job. My only suggestion would be to maybe list the "next device" in the subtitle output, so the user knows what it's going to switch to.
     
    Something like:
     
    "Current Device: Built-In Output, Next Device: Music Streamer II"
  17. Like
    DavidK got a reaction from Vero in Next Audio Output Device + request for help!   
    This is absolutely possible - You'll just need to use a Script Filter as your first item instead of Keyword, and then write a script to grab which is the active output and print the appropriate XML to display the info in the subtitle.
     
    See the following thread for details on passing feedback back to Alfred:
    http://www.alfredforum.com/index.php?/topic/5-generating-feedback-in-workflows/
     
    Also, take a look at Mikegrb's Audio Device Selection workflow, which will likely do what you want already.
    http://mikegrb.com/2013/01/18/alfred2-audio-device/
  18. Like
    DavidK got a reaction from OliverJAsh in Next Audio Output Device + request for help!   
    This is absolutely possible - You'll just need to use a Script Filter as your first item instead of Keyword, and then write a script to grab which is the active output and print the appropriate XML to display the info in the subtitle.
     
    See the following thread for details on passing feedback back to Alfred:
    http://www.alfredforum.com/index.php?/topic/5-generating-feedback-in-workflows/
     
    Also, take a look at Mikegrb's Audio Device Selection workflow, which will likely do what you want already.
    http://mikegrb.com/2013/01/18/alfred2-audio-device/
×
×
  • Create New...