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 4m 16s ago
Copy chosen tag info from one set of tracks to a different set of tracks
downloaded 12m 6s ago
Perform search-and-replace on text in your choice of tags
downloaded 17m 40s ago
Exports and then re-imports selected tracks' artwork
downloaded 22m 51s ago
Capitalize the first letter of each word in selected track names
downloaded 39m 26s ago
Copy the file of the selected track using its Start and Stop times
downloaded 46m 28s ago
Paste non-ID3 Tag track and file-related info into Category, Comments, Description or Episode ID tag