For macOS 10.10 and later. This script will look for an image file in the parent folder of each selected track's file--presumably its Album folder in which you have previously placed an image file of some sort--and apply the data from that image file as artwork for the track.
Perhaps Also of Interest...
downloaded 2m 26s ago
Exports and then re-imports selected tracks' artwork
downloaded 6m 49s ago
Title Cap various track tags, featuring editable exceptions lists
downloaded 10m 23s ago
Use tag data to formulate new file name for selected tracks' files
downloaded 12m 47s ago
Display information about apps in the Mobile Applications folder
downloaded 22m 14s ago
Restore each selected track's artwork from an image file stored in its Album folder
downloaded 27m 12s ago
Check scripts downloaded to your computer from dougscripts.com for latest version