open and quit functions
This file contains 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
-- The open and close functions | |
on runApp() | |
tell application "Sandra_Sound" | |
if it is not running then | |
activate | |
--display alert "opened Application" | |
end if | |
end tell | |
end runApp | |
on killApp() | |
tell application "Sandra_Sound" | |
if it is running then | |
quit | |
--display alert "closed Application" | |
end if | |
end tell | |
end killApp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment