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 13m 41s ago
Export files of tracks in two or more playlists to single folder
downloaded 28m 24s ago
Batch-change the Album Rating for the albums of selected tracks
downloaded 36m 18s ago
Search Wikipedia using the Song Name, Album, Artist, or Composer of selected or playing track
downloaded 41m 26s ago
Advance or rewind the currently playing track an entered number of seconds
downloaded 2h 14m 48s ago
Gather audio tracks whose files contain no artwork metadata
downloaded 2h 47m 40s ago
Set choice of various number tags of selected tracks incrementally