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 26s ago
Convert selected tracks and export the converted files to a new folder
downloaded 5m 33s ago
Change file type to make selected AACs bookmarkable
downloaded 11m 25s ago
Batch set new Last Played/Last Skipped of selected tracks
downloaded 11m 30s ago
Batch-reset the Start and Stop Time of selected tracks to their entire duration
downloaded 20m 30s ago
Title Cap various track tags, featuring editable exceptions lists
downloaded 33m 54s ago
Remove iTunes tracks disassociated from files