Oct 23, 2005 08:26
I wish to perform some operation with all items in my iTunes library (in fact, i wish to choose all tracks from the same album as currently playing and add them to party shuffle, but i'm stuck already in the beginning).
I try to do:
repeat with eachTrack in library playlist
if album of eachTrack = trackAlbum then
copy location of eachTrack to item index c1 of albumFiles
set c1 to c1 + 1
end if
end repeat
When i'm trying to run, i get "iTunes has got an error: expected reference" and as i'm still a dumb beginner, i can't do anything with it.
May be you can help me?