iTunes Playlist Creator Applescript

Here’s an Applescript I wrote. Basically, select a playlist in the left menu (e.g., My Top Rated) run this script and it will create a playlist folder with a playlist for every album (and every track in that album) for each album in the playlist. Make sense!?

I wrote it because the way I keep track (so to speak) of tunes I like is by rating them as 4 or 5 stars – which makes them appear in the My Top Rated smart playlist. But I also hate having incomplete albums on my iPod, so this is a simple way of syncing your My Top Rated, and all tracks of the albums in it.

Probably needs iTunes 8 or greater (or whenever playlist folders were introduced) and if it destroys something, it’s not my fault! It will also delete an existing playlist folder, so you can regenerate the folders as required.

Download here.


  1. Thank you! I’ve got a huge live archive collection and I didn’t want to go through and make albums for each one. I’ve been looking for something like this for quite a while. Thanks so much!

  2. Gary… are you using iTunes on Windows or Mac? If it’s Mac then it’s definitely possibly… first port of call is “doug’s scripts” – I bet there’s already a script that’ll do this for you. Not sure about the auto sync-ing bits… but I just rerun my scripts every now and then. If you can’t find the script there let me know and I’ll write something for you.

    If it’s Windows then… not sure.. sorry!

  3. Hi Matt,

    I truly hope you can help. 🙂

    I have been trying to find a tool to add to my itunes, that will automatically go through the entire library and make playlists based on the artist’s name, and hopefully have the ability to be run again at a later date (i.e. sync all the playlists with all tracks by a particular artist).

    Is it even possible to do what I’m trying to do? 🙂

    Thanks in advance for your time.


1 Trackback / Pingback

  1. matt’s debates » Blog Archive » Is this new, or am I an idiot?

Leave a Reply

Your email address will not be published.