(**
 * Pause and resume Growl. Use in a launcher like Quicksilver or Alfred to
 * pause and resume Growl when the menu bar icon is disabled.
 *
 * Author: Andrew Berry, deviantintegral@gmail.com
 *)
tell application "Growl"
	register as application "Growl pause/resume" all notifications {"Growl paused", "Growl resumed"} default notifications {"Growl paused", "Growl resumed"} icon of application "Growl"
	if is paused then
		resume
		notify with name "Growl resumed" title "Growl resumed" description "Growl notifications resumed" application name "Growl pause/resume"
	else
		notify with name "Growl paused" title "Growl paused" description "Growl notifications paused" application name "Growl pause/resume"
		pause
	end if
end tell