tell application "iTunes"
if selection = {} then display dialog "You must select one or more tracks first." buttons {"Cancel"} default button 1 with icon 1else set trackList to selection repeat with i from 1 to count of trackList set thisTrack to item i of trackList set album rating of thisTrack to (0) end repeatend if
end tell