Some of the code used in iTunify is available as a free download from
Doug's AppleScripts for iTunes
Basic duplicates detection
Filter duplicate tracks into a discrete playlist using basic filters
Basic automated duplicates removal
Detect duplicate tracks using basic filters and remove all but one
Advanced duplicates detection
Filter duplicate tracks into a discrete playlist using advanced filters
Advanced automated duplicates removal
Detect duplicate tracks using advanced filters and remove all but one
Trash selected tracks from playlist
Remove & trash selected tracks out of playlists
Invert tracks' check marks
Makes unchecked tracks checked and vice versa
Convert AAC to audiobook
Convert selected AACs to recognized audiobooks
Convert audiobook to AAC
Convert selected audiobooks to AACs
Make bookmarkable
Make selected tracks bookmarkable
Reset bookmarks
Reset track's bookmark to the very beginning
Remove dead tracks
Remove missing (!) tracks from the iTunes library
Find songs without artwork
Find songs with missing artwork
Find songs with multiple artworks
Find songs with more than one artwork
Trim front or end of tag
Remove n characters from front or end of tag
Remove characters at any position in tag
Remove n characters from anywhere in tag using RegEx
Make uppercase
Uppercase tags, featuring editable exceptions list
Make lowecase
Lowercase tags, featuring editable exceptions list
Make word caps
Word cap tags, featuring editable exceptions list
Make sentence caps
Sentence cap tags, featuring editable exceptions list
Search & Replace tag text
Perform search-and-replace on text in your choice of tags
Regular Expressions
Perform search-and-replace with support for regular expressions
Rename files
Rename files based on selected ID3 tag data
Import filenames to tag of choice
Insert track's filename into a tag of choice (minus extension)
Exchange tags
Swap or copy data between track tags
Correct 'artist - name'
Correct song titles listed as "artist - song name"
Renumber selected tracks
Renumber order of selected tracks, featuring custom interval
Track number to song name prefix
Append the track number of selected tracks to song name
Parse track name for track number
Copy number prefix from name to track number tag
Export selected song list
Exports your choice of ID3 tags of the selected tracks to the clipboard
Parse tracks
Use pattern-matching to disassemble tag-packed song names
Append to empty tags
Batch-append text only to empty tags
Wrangle same-named tracks
Assist with discovering and eliminating same-named tracks
Clean ID3 Tags
Fix double spaces, false ellipses, underline, etc.
Transfer track tag info
Copy tag info from one tracks to another
Append to selected tag
Append text to beginning or ending of tags of your choice
Save album artwork to album folder
Export artwork of selected tracks to specified folder
Import album artwork from album folder
Import artwork to selected tracks from specified folder
Add or subtract play count
Add or subtract a value of choice to/from each selected track's play count
De-Genre
Manage and remove unwanted genres
Artist to 'Last, First'
Eg: 'The Beatles' -> 'Beatles, The'
Artist to 'First Last'
Eg: 'Beatles, The' -> 'The Beatles'
Remove extension from song name
Remove extensions (eg: ".mp3") from song names
Append artist to filename
Append beginning of selected tracks' filenames with artist name
Current to clipboard
Send current song info to clipboard
Artist to composer
Copy artist field to composer field
Set tracks' "skip when shuffling" option
Enable or disable the selected tracks' "skip when shuffling" option
Set tracks' "part of gapless album" option
Enable or disable the selected tracks' "part of gapless album" option
Tags to file comments
Send chosen tags to file's comments field
Song name articles to the rear
Transpose initial "The" or "A" to the end of song names
Zero-pad initial digits
Pad single digit track numbers with a "0"
Comments To Comments
Put track's comments text into file's file comment
Assign Half-Star Rating
Assign selected tracks ratings by half-star increments
Embed iTMS artwork
Embed artwork downloaded from Apple's iTMS info audio file
Import tracks' ID3 tags from text file
Parse plaintext file for track info and apply if data matches
Remove checked tracks
Remove all tracks from selection whose mark is checked
Remove unchecked tracks
Remove all tracks from selection whose mark is unchecked
Remove artwork
Remove artworks of all selected tracks