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 5m 35s ago
Play the selected track and stop
downloaded 7m 20s ago
Remove iTunes tracks disassociated from files
downloaded 8m 56s ago
Search allmusic.com website (AMG) with data from selected or playing track
downloaded 21m 27s ago
Batch-change the Album Rating for the albums of selected tracks
downloaded 53m 54s ago
Delete characters from the beginning or ending of selected tracks' name, artist, album, comments, composer, or show tags
downloaded 1h 30m 56s ago
Re-locate files of selected tracks to new folder, preserve track meta-data