View Single Post
Old 07-30-2009, 06:09 PM
#3
 
quattleb
Freshman Lounger
 
Join Date: Nov 2008
Posts: 8

S2-Mac - nice idea and certainly will do the trick. However seems to be a bug. I did the copy/paste and created the script. Selected a single album worth of track in iTunes and then ran the scrip from the script editor. There is no change to the Track Count of the tracks. Looking at the code and the Event Log shows that each time through the loop "t" gets set to the value of an existing Track Count (which is ZERO since these tracks do not have a Track Count). Then when the loop exist each track Id has the track count set to high_track_count which is 0.

When I comment out the line "set t to track count of trak" it appears to work correctly.

Does this sound right (like a typo in the code?)

thanks again
Bill
quattleb is offline   Reply With Quote