Display iTunes cover art in iChat AV

Aug 27, '03 09:59:00AM

Contributed by: Anonymous

If you've got a full cover art library in iTunes, you want to show it off in iChat! Here are the basic steps which I recently blogged for myself:

  1. Get GraphicsImporter OSAX.

  2. Make sure iChat AV Beta is installed.

  3. Run this script:
    set theAlbum to ""
    set theData to ""
    tell application "iTunes"
      set theAlbum to album of current track
      set theData to (data of artwork 1 of current track)
    end tell
    set theTiff to giconvert theData type "TIFF" resolution {32, 32}
    tell application "iChat"
      set status message to theAlbum
      set image to theTiff
    end tell
  4. Change a lot, add error detection, stuff like that.
Notice that you don't need iChatStatus any more, since there's a real AppleScript interface to change the status message. Just write an AppleScript application with an idle statement, and voila!

Comments (10)


Mac OS X Hints
http://hints.macworld.com/article.php?story=20030825110446769