This script will embed artwork that has already been downloaded (via the iTunes "Get Album Artwork" command) into the files of the selected tracks.
Also see Re-Embed Artwork.
NOTE: For best results, use with an album's worth of tracks--or so--at a time. iTunes may be obliged to perform a number of background tasks when applying image data and may prevent the script from proceeding if a large amount of data is involved.
Note: (August 2014) Not sure what the issue is but results are inconsistent with modern versions of iTunes.
Perhaps Also of Interest...
downloaded 14s ago
Delete characters from the beginning or ending of selected tracks' name, artist, album, comments, composer, or show tags
downloaded 4m 52s ago
Apply selected CD's CD Text to its disc and track tags
downloaded 5m 44s ago
View/Edit tags of selected track(s) in single window
downloaded 26m 52s ago
Add or subtract a user-entered number from each selected track's Skip Count
downloaded 27m 36s ago
Export album artwork as folder.jpg to Album folder
downloaded 27m 54s ago
Add or subtract a user-entered number from each selected track's Plays