iTunes scripting - comparing playlists
iTunes scripting - comparing playlists
- Subject: iTunes scripting - comparing playlists
- From: Stephen Schaefer <email@hidden>
- Date: Mon, 16 Feb 2004 03:33:30 -0500
hi all,
I'm new to the list, and I've just started learning/using Applescript
because I came up with some ideas about how to control certain aspects
of iTunes and I want to try them. I know I could learn much of this
myself, but I don't have all the time in the world to search through
every tutorial. I'd like to know something about some scripting terms
for iTunes and some general ones. I have 5 smart playlists in iTunes
that contain songs that have played each of the last 5 days separately
(i.e., Last played is not in the last 2 days, Last Played is in the 3
days, etc). I want to compare the tracks in each of these playlists:
specifically, I'd like to set up an expression that finds tracks that
appear in 2 or more of the 5 playlists. For example, the script would
look all the tracks in the first list and see if any are also in one or
more of the other four playlists. Then it would check the second
playlist and see if any of the tracks were in one more or more of list
three, four, or five, and on down the line. I suppose it wouldn't have
to check list 5 by itself, of course. Can someone explain how I could
set up the If/then and Else If statements for this? Also, how do I
refer to the tracks if I want the script to check each track, but I
don't want it to think every track has to be in another playlist (this
is why I assume I can't use the term to "if every track"). Thanks for
the help.
sps
_______________________________________________
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.