Skip to content

Instantly share code, notes, and snippets.

@digiltd
Last active December 3, 2024 10:52
Show Gist options
  • Save digiltd/e669db2c384af4a9e2ed to your computer and use it in GitHub Desktop.
Save digiltd/e669db2c384af4a9e2ed to your computer and use it in GitHub Desktop.
Check if an application is running.
set appName to "Growl"
if application appName is not running then
tell application appName
activate
end tell
return "Not Running"
else
return "Running"
end if
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment