Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if application "Spotify" is running then
- tell application "Spotify"
- if player state is playing then
- return (get artist of current track) & " - " & (get name of current track)
- else
- return ""
- end if
- end tell
- else
- return ""
- end if
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement