iTunes script?

Hi there everyone,

I’m new to OSX and the Mac but I’m eager to learn a few things.
I’d like a script that’ll allow someone to select songs in iTunes and have the contents of the “Albums” field moved to the “Grouping” field.

In my mind, this doesn’t sound too tricky so I’m wondering if one already exists? I’ve dug around the site and searched these boards for one to no avail. So any help you can offer would be appreciated. :slight_smile:

This will copy the album to the grouping field:

This will move it:

Jon


[This script was automatically tagged for color coded syntax by Convert Script to Markup Code]

Wow! Quicky reply, thanks.

Is there an FAQ somewhere that I can learn how to run these scripts?

I’d like it to only perform the script function on a select group of songs, not all of them.

Thanks again!

That’s exactly what these scripts do. See the bit “get selection”? That tells the script to only act on the selected tracks. Select some tracks in iTunes, then open the Script Editor application and copy and paste the appropriate script from above in to a new script document window (or better yet, if you’re running Mac OS X 10.3, just click the AS URL above the corresponding script snippet) and then press the “Run” button. That’s it.

The MacScripter folks have compiled a great AppleScript FAQ (way to go jj).

Jon