Sunday, September 1, 2013

Setting up notifier in OSX

When doing OSX automation, it is really handy to send yourself notification messages.   Sadly, for reasons not clear, notification isn't part of apple script, nor the OSX command line.

Fortunately, there is a free tool that appears to work really well!

https://github.com/alloy/terminal-notifier


  1. Download notifier from the link above -- it will automatically unzip in your Downloads folder
  2. Move the "terminal-notifier" program from the ~\Downloads\terminal_notifier-x.y.z folder to ~\Documents\Perl
Now, to send a notification: 
~/Documents/Projects/Perl/terminal-notifier.app/Contents/MacOS/terminal-notifier -title 'My Title' -message 'My message'

Tada!



No comments:

Post a Comment

Write what you think. If things get spammy, review time.