Anyone know if it’s possible to get the unique song/track ID number from iTunes using AppleScript? I did not see anything in the iTunes AppleScript dictionary. Thanks
tell application “iTunes”
set theSelection to selection
if (count of the theSelection) > 1 then
display dialog "select only one track!"
else
set theItem to item 1 of theSelection
set trackID to id of theItem
end if
end tell
Thanks Olike but I’m hoping to get the unique id number of a track from the iTunes store. This is different than the local track id.
I don’t believe it’s possible using AppleScript.
Thanks