Last active
March 23, 2017 09:43
-
-
Save Bonno/7cc336745d47d0bc6c862f6955f868c3 to your computer and use it in GitHub Desktop.
Control spotify in OS X
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
- Open Automator and create a new Service | |
- Change "service receives selected:" [text] to [no input] | |
- Add the "run apple script" action to the main screen | |
- Enter and save the following three apple scripts | |
- Go to keyboard shortcuts preference pane and configure your shortcuts to the newly created services | |
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
try | |
tell application "Spotify" | |
previous track | |
end tell | |
end try | |
return |
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
try | |
tell application "Spotify" | |
playpause | |
end tell | |
end try | |
return |
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
try | |
tell application "Spotify" | |
next track | |
end tell | |
end try | |
return |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment