iTunes Artwork to NSImageView

How would you get the artwork from itunes and have it show in an NSImageView?

http://www.cocoalab.com/?q=itunes_artwork

That example is does not work correctly it contains depreciated code and it doesn’t exactly get the album artwork from the song playing but the song selected in the itunes window. I was also wondering if you could use JUST applescript to do this action.

Hi,

in this thread there are a few suggestions.
You indeed can do it in AppleScript, but it’s quite complicated.
You have to extract the raw image data information from the artwork property in iTunes.
Futhermore a temporary file is required for each image.