iTunes: flip Artist and Name

Hey all AGAIN :smiley:

I have the track names and the artist’s fliped :frowning:

I can’t find out how to flip them without manually doing this. I downloaded the script “Artist - Name Corrector” but it wasn’t originally in the proper format…

I tried to modify the script to flip them but it won’t work…

Any suggestions???

Model: MacBook
Browser: Safari 525.13
Operating System: Mac OS X (10.5)

Hi Chris,

this modification of Doug’s script should do it

tell application "iTunes"
	if selection is not {} then
		set sel to selection
		repeat with aTrack in sel
			tell aTrack
				set {artist, name} to {get name, get artist}
			end tell
		end repeat
	end if
end tell