daily pastebin goal
25%
SHARE
TWEET

Bettertouchtool Spotify Touch Bar

a guest Oct 9th, 2018 157 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. if application "Spotify" is running then
  2.     tell application "Spotify"
  3.         if player state is playing then
  4.             set naam to get name of current track
  5.             set naam to text 1 thru ((offset of "-" in naam) - 1) of naam
  6.             return (get artist of current track) & " - " & (naam)
  7.         else
  8.             return ""
  9.         end if
  10.     end tell
  11. end if
  12. return ""
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top