PDA

View Full Version : Deleting unwanted list items.




fhill2
Jun 19, 2012, 02:41 PM
I'm trying to delete items of a list assigned to "name of every playlist" in iTunes.
I want a list of all playlists whose names are not identical to the special kind of playlist.
In dictionary:
special kind (none/Books/folder/Genius/iTunes U/Library/Movies/Music/Party Shuffle/Podcasts/Purchased Music/TV Shows, r/o) : special playlist kind
How can I do this?
Thanks!!!



kryten2
Jun 19, 2012, 06:27 PM
tell application "iTunes"
get name of every playlist whose special kind is none
end tell

fhill2
Jun 19, 2012, 09:55 PM
Ah, your help it much appreciated kryten2!
I was close though.
tell application "iTunes"
get name of every playlist (whose name is special kind)
end tell
And I can see why this didn't make sense now :)