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 1m 40s ago
Exports and then re-imports selected tracks' artwork
downloaded 30m 38s ago
Locates pairs of track entries pointing to the same file
downloaded 32m 5s ago
Export selected playlists as individual XML or M3U files
downloaded 33m 27s ago
Remove iTunes tracks disassociated from files
downloaded 50m 47s ago
Continuously display playlists containing selected/playing track(s)
downloaded 52m 20s ago
Save files of iTunes tracks using QuickTime Pro audio codecs