Created
August 11, 2011 15:17
-
-
Save catchamonkey/1139919 to your computer and use it in GitHub Desktop.
Apple Script to Skip Spotify Track (before my buttons worked)
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
tell application "System Events" to set appList to name of application processes whose frontmost is true | |
set activeApp to item 1 of appList | |
tell application "Spotify" to activate | |
tell application "System Events" | |
tell process "Spotify" | |
click menu item 3 of menu 1 of menu bar item 6 of menu bar 1 | |
end tell | |
end tell | |
tell application activeApp to activate |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment