Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

BlakTornado

Guest
Original poster
I'm making an Applescript (my first serious one) and I'm wondering on how I would get, for example, the track artists for EVERY artist in the user's iTunes library.

currently I have this code: (and the accompanying that does the rest)

Code:
tell source "library playlist" to get info for

But I can't seem to find out what I would need to put after the "for" to get a list of, say, the artist column in the iTunes library.

Would I need to set something like "tell track "all" to get info for "album artist"?

I don't know. I'm only a newbie and started working with Apple Script two days ago... so please be lenient with me! thanks! 🙂
 
I'm making an Applescript (my first serious one) and I'm wondering on how I would get, for example, the track artists for EVERY artist in the user's iTunes library.

Code:
tell application "iTunes"
	set artistNames to artist of every track of library playlist 1
end tell

If you need to sort the resulting list and eliminate duplicate entries, that's another job.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.