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 2m 32s ago
Two scripts copy text from clipboard to current or single selected track's lyrics tag
downloaded 9m 22s ago
Display, create text file listing info of dead tracks
downloaded 39m 44s ago
Copy Artist to Album Artist of selected tracks
downloaded 58m 58s ago
Gather audio tracks whose files contain no artwork metadata
downloaded 1h 2m 8s ago
Rename selected tracks' Song Names with their filenames (minus extension)
downloaded 1h 29m 51s ago
Sort purchased tracks into discrete playlists by name or Apple ID