• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: iTunes Artwork via Cocoa + AppleScript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: iTunes Artwork via Cocoa + AppleScript


  • Subject: Re: iTunes Artwork via Cocoa + AppleScript
  • From: Bill Monk <email@hidden>
  • Date: Tue, 7 Jun 2005 06:56:48 -0700

On Jun 6, 2005, at 4:31 PM, Jerry Brace <email@hidden> wrote:


I'll need to be able to read the image from AAC files as well.


A valid point. You are probably stuck using AS for this.

I get this error: ""Can't get item 1 of {}.""

It's really an AS question, but iTunes AS dictionary changed at some point; there is no longer artwork (hence the complaint about an empty list {}), instead there is front artwork/back artwork.


Change all occurrences of

data of artwork
format of artwork

to

data of front artwork
format of front artwork (or back artwork, if that's what you want). It should then at least be closer to working.


If it doesn't, probably be easier to debug the script portion of your Cocoa code in Script Editor.

Bill Monk
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: OSX Version
  • Next by Date: Resetting an NSSearchField
  • Previous by thread: Re: iTunes Artwork via Cocoa + AppleScript
  • Next by thread: x86 Compilation
  • Index(es):
    • Date
    • Thread