[iTunes] Export a list of my playlists

Bill White billwhite at mac.com
Tue Feb 7 13:49:11 PST 2006

On 2/7/06 4:31 PM, Patrick Story <pstory1 at earthlink.net> wrote:

> Is there an applescript or something that will export a list of my  playlists?

Here's a simple script for it:

tell application "iTunes" to set everyPlaylist to name of every playlist

set finalList to "MY PLAYLISTS" & return

repeat with i from 1 to count everyPlaylist
    set aList to item i of everyPlaylist
    set finalList to finalList & return & aList
end repeat

tell application "TextEdit"
    make new document
    set text of document 1 to finalList
end tell


More information about the iTunes mailing list