Re: Grab list of album names in iTunes?
Re: Grab list of album names in iTunes?
- Subject: Re: Grab list of album names in iTunes?
- From: Greg Townsend <email@hidden>
- Date: Tue, 3 Feb 2004 15:30:06 -0500
set newList to {}
set albumList to (album of every track of library playlist 1) as list
repeat with i from 1 to count of albumList
set thisAlbum to item i of albumList as string
if newList does not contain thisAlbum then
copy thisAlbum to end of newList
end if
end repeat
That oughta work. Good luck.
Greg
On Feb 3, 2004, at 1:45 PM, Mark Dawson wrote:
I'd like to compile a list (unique) of albums in my iTunes library.
Is there a way to do this? I could do a loop for every track and
access the "album" part of the track, but that would give me lots of
duplicate album names.
Thanks!
Mark
email@hidden
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.