+ added music symbold to spotify/itunes scripts + changed refresh interval from 5 seconds to 20 seconds
13 lines
367 B
AppleScript
13 lines
367 B
AppleScript
if application "Spotify" is running then
|
|
tell application "Spotify"
|
|
set theName to name of the current track
|
|
set theArtist to artist of the current track
|
|
set theAlbum to album of the current track
|
|
set theUrl to spotify url of the current track
|
|
try
|
|
return "♫ " & theName & " - " & theArtist
|
|
on error err
|
|
end try
|
|
end tell
|
|
end if
|