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 55s ago
Exports and then re-imports selected tracks' artwork
downloaded 19m 38s ago
Swap the name with the artist of selected tracks
downloaded 26m 39s ago
Sort purchased tracks into discrete playlists by name or Apple ID
downloaded 37m 2s ago
Remove iTunes tracks disassociated from files
downloaded 55m 14s ago
Re-associate batch of dead tracks with files from selected folder
downloaded 57m 26s ago
Droplet adds files, creates playlists based on folder name(s)