Make a TextEdit document with a series of track descriptions

In case it’s useful to anyone: a simple AppleScript that will take a selected set of iTunes tracks (i.e., podcasts you’ve downloaded), compile all of their descriptions, and create a new TextEdit document with the whole text. Useful if you have a pile of downloaded podcasts and you want to skim through to see what to keep.

tell application "iTunes"
	set trackreport to ""
	repeat with eachtrack in (get selection)
		set trackreport to trackreport & name of eachtrack¬
			& ": " & description of eachtrack¬
			& return & return
	end repeat
end tell

tell application "TextEdit"
	set newdoc to make new document
	set text of newdoc to trackreport
end tell

Leave a Reply

Your email address will not be published. Required fields are marked *