Skip to content

Instantly share code, notes, and snippets.

@catchamonkey
Created August 11, 2011 15:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save catchamonkey/1139919 to your computer and use it in GitHub Desktop.
Save catchamonkey/1139919 to your computer and use it in GitHub Desktop.
Apple Script to Skip Spotify Track (before my buttons worked)
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