May 2026
Find Tracks with Multiple Artworks
This will corral all the tracks in the Music library that have more than one assigned artwork to a new playlist (whose name you supply; any existing playlist(s) with that name will be deleted beforehand):
tell application "iTunes"
try
set newPlaylistName to text returned of (display dialog ¬
"Enter a name for the playlist:" default answer "Multi-artwork tracks")
on error
return
end try
try
delete (every playlist whose name is newPlaylistName)
end try
set newPlaylist to (make new playlist with properties {name:newPlaylistName})
set musicLibrary to (get some playlist whose special kind is Music)
repeat with i from 1 to (index of last track of musicLibrary)
try
set aTrack to track i of musicLibrary
if (count of artworks of aTrack) > 1 then
try
duplicate aTrack to newPlaylist
end try
end if
end try
end repeat
display dialog "Done" buttons {"OK"} default button 1
end tell
Open this in Script Editor by clicking the little script icon. Save it named whatever you like as a Script Bundle in your ~/Library/iTunes/Scripts/ folder so that it will be listed in the iTunes Script menu. Launch the script and enter a name for the playlist; the default is "Multi-artwork tracks"; press OK.
Rolling Out Updates for High Sierra
Apple will be announcing new hardware and software at a September 12 Event. Most of the attention, of course, is on the sparkly mobile-oriented stuff. Those of us anchored to iMacs and Macbooks will hopefully hear a sentence or two about macOS 10.13 High Sierra which I reckon will be released in late September (Sierra was released on September 20, 2016 after a September 7 Event).
I've already started releasing updates to scripts and I'll be releasing more regularly over the next few weeks. There are only minimal obligatory changes and accommodations to make. Most current scripts should run OK in High Sierra. But there are some optimizations I can take advantage of in macOS 10.13, thus the updates.
This is probably a good place to note once again that a clean install of macOS 10.12 and later may not create a "iTunes" folder in the user Library directory. Scripts installed in ~/Library/iTunes/Scripts/ will appear in the iTunes Script menu; you may have to create the intermediate folders yourself.
To stay apprised of updates—if you haven't already—subscribe to me on Twitter, @dougscripts, or on Facebook. Bookmark the 30 Most Recent page. Or subscribe to my Most Recent RSS feed (if you still believe in RSS).

