Skip to content

Instantly share code, notes, and snippets.

@carlosgaldino
Last active December 20, 2015 12:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save carlosgaldino/6131391 to your computer and use it in GitHub Desktop.
Save carlosgaldino/6131391 to your computer and use it in GitHub Desktop.
pause/resume growl
on alfred_script(q)
tell application "System Events"
set isRunning to (count of (every process whose bundle identifier is "com.Growl.GrowlHelperApp")) > 0
end tell
if isRunning then
tell application id "com.Growl.GrowlHelperApp"
set paused to is paused
if (paused) then
resume
else
pause
end if
end tell
end if
end alfred_script
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment