• Mac OS X,  Mac OS X Server,  Mac Security

    Scripting Notification Alerts to Notification Center in Mountain Lion

    The terminal-notifier command is a tool used for sending messages and actions to the Notification Center. It’s a gem, so to set it up we’ll first run the gem command to install it by name: gem install terminal-notifier Once installed, run the command along with the -message option followed by a quoted message: terminal-notifier -message "Hello world" This produces a message from Notification Center as follows: The title on the screen though, says Terminal. We want to change the title to something else. To do so, add the -title option. Adding the -title option along with a quoted title then displays a title in the top of the notification. You…