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 10m 3s ago
Set selected tracks' names using any combination of selection order, current name, track number, episode ID, and episode number
downloaded 20m 21s ago
Export album artwork as folder.jpg to Album folder
downloaded 27m 47s ago
Move selected playlists to a new or existing folder
downloaded 44m 29s ago
Search allmusic.com website (AMG) with data from selected or playing track
downloaded 45m 54s ago
Add or subtract a user-entered number from each selected track's Plays
downloaded 55m 25s ago
Set choice of various number tags of selected tracks incrementally