The default script is a little buggy... It cannot display radio correctly.
You can patch that (in the package, called "Getinfo.scpt",
replace it with:
-- begin of file --<BLOCKQUOTE><font size="1" face="XYZ">code:</font><HR><pre>
tell application "System Events"
if ((application processes whose (name is equal to "iTunes")) count) is greater than 0 then
tell application "iTunes"
if player state is playing then
if artist of current track is not missing value then
return (artist of current track) & " - " & (name of current track)
else
return name of current track & " : " & comment of current track
end if
else if player state is paused then
return "Paused"
else if player state is stopped then
return "Quiet"
end if
end tell
else
return "Off"
end if
end tell</pre><HR></BLOCKQUOTE>
-- end of file --
I tried it before...
It seems there's no way to get the info from AppleScript. But don't believe me! [img]images/smiles/icon_smile.gif[/img]
I don't know AppleScript until this afternoon I want to create my custom script. [img]images/smiles/icon_smile.gif[/img]