Skip to content

Instantly share code, notes, and snippets.

@loisaidasam
Created February 6, 2019 16:26
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 loisaidasam/aa225ad57f39866252afa11dde34e2a4 to your computer and use it in GitHub Desktop.
Save loisaidasam/aa225ad57f39866252afa11dde34e2a4 to your computer and use it in GitHub Desktop.
OSX/Applescript - get artist / title of the current track playing on Spotify
$ osascript -e "if application \"Spotify\" is running then tell application \"Spotify\" to get artist of current track & \" - \" & name of current track"
Tirzah - Fine Again
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment