Created
May 5, 2017 12:06
-
-
Save vikeri/e5a43ab2d6f6dbfb5877651c370e5c88 to your computer and use it in GitHub Desktop.
ASP
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
if application "Spotify" is running then | |
tell application "Spotify" | |
playpause | |
end tell | |
else | |
tell application "Spotify" to activate | |
tell application "Spotify" | |
playpause | |
end tell | |
end if |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment