Skip to content

Instantly share code, notes, and snippets.

@tommorris
Created December 14, 2009 22:18
Show Gist options
  • Save tommorris/256492 to your computer and use it in GitHub Desktop.
Save tommorris/256492 to your computer and use it in GitHub Desktop.
require "rubygems"
require "rbosa"
if `ps aux`.match(/Things\.app/)
things = OSA.app('Things')
if things.lists[1].to_dos.size != 0
things.lists[1].to_dos.each {|todo|
`echo #{todo.name} | growlnotify -a Things`
}
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment