public

Pause and Resume Growl Notifications

  • Download Gist
Growl Pause and Resume.scpt
AppleScript
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
(**
* 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

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.