Last active
December 3, 2024 10:52
-
-
Save digiltd/e669db2c384af4a9e2ed to your computer and use it in GitHub Desktop.
Check if an application is running.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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