set a track illustration in music using apple script
I can do this using automator but it consists of a bunch of mouse clicks that takes for ever to execute.
There must be a much more straight forward way of doing this using a few lines of apple script.
I'm pretty knowledgeable in apple script but struggling to find the "handles" to set the illustration property of a track.
my code/pseudo code would look like this:
tell application "Music"
set the illustration of the selected track(s) to <path name>
end tell
thanks
Mac Studio, macOS 15.5