Re: applescript-users digest, Vol 3 #2601 - 2 msgs
Re: applescript-users digest, Vol 3 #2601 - 2 msgs
- Subject: Re: applescript-users digest, Vol 3 #2601 - 2 msgs
- From: email@hidden
- Date: Sun, 11 Apr 2004 13:07:47 -0500
Is there a way to tell if a playlist is a normal playlist or a smart
playlist?
Yes. As the iTunes dictionary tells you, user playlists have a smart
property. So you can do it with a one-liner:
tell application "iTunes" to set smartPlaylists to name of every user
playlist whose smart is true
Aha, I was looking in "playlist" as opposed to "user playlist." I
guess I'll just have to do a couple of operations to separate out
library/smart/normal.
Back to ASS
Matthew Stuckwisch
Ballside Roll Tide
Tiger at Heart
_______________________________________________
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.