Created
October 12, 2016 11:55
-
-
Save vikeri/cf4f52d66702b130944a189dc3984d2c to your computer and use it in GitHub Desktop.
Spotify play script
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
I need a apple script that would tell Spotify to only play 63 seconds of each song in my play list
and repeat play list all day