Deleting unwanted list items.

Discussion in 'Mac Programming' started by fhill2, Jun 19, 2012.

  1. macrumors newbie

    Joined:
    May 9, 2012
    #1
    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!!!
     
  2. macrumors 6502a

    Joined:
    Mar 17, 2012
    Location:
    Belgium
    #2
    Code:
    tell application "iTunes"
    	get name of every playlist whose special kind is none
    end tell
    
     
  3. thread starter macrumors newbie

    Joined:
    May 9, 2012
    #3
    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 :)
     

Share This Page