Files
dotfiles/applescripts/itunes.scpt
2013-01-06 18:47:54 -06:00

13 lines
332 B
AppleScript
Executable File

if application "iTunes" is running then
tell application "iTunes"
if exists current track then
set theName to the name of the current track
set theArtist to the artist of the current track
try
return "♫ " & theName & " - " & theArtist
on error err
end try
end if
end tell
end if