This script will examine each track in the entire iTunes library--or a selection of tracks--for items purchased from the iTunes Store (audio, video, and audiobooks) and then sort them by either the purchaser's name or account ID into discrete playlists, eg: "Purchased by Tom Ryan" or "Purchased by firstname.lastname@example.org".
Purchaser information is gleaned by examining the track's local file (purchase info for iTunes Match tracks in the cloud is inaccessible and cloud tracks will be ignored), which, depending on file location and access speed, may take as long a second per track. Just sayin'.
OS X 10.6 or later only. Previous universal version available at the link below in the "Info" section.
Sort using the purchaser's name or account ID. Sorting by Name is faster; ascertaining the account ID requires a bit more processing per track. Either way, you'll probably have time to go grab some coffee while the script is working.
Capitalize the first letter of each word in selected track names
Search YouTube using tag info from selected or playing track
Delete and trash tracks from iTunes whose play counts are 0
Update subscriptions which have expired by virtue of being ignored for five or more days
Two scripts copy text from the clipboard to current or to selected track's lyrics
Display, create text file listing info of dead tracks