Re: iTunes Artwork via Cocoa + AppleScript
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