Advertisement
Guest User

Untitled

a guest
Feb 20th, 2017
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. if application "Spotify" is running then
  2. tell application "Spotify"
  3. if player state is playing then
  4. return (get artist of current track) & " - " & (get name of current track)
  5. else
  6. return ""
  7. end if
  8. end tell
  9. else
  10. return ""
  11. end if
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement