Re: Setting iTunes album art with ScriptingBridge

2008-05-23 Thread Bill Monk
On May 23, 2008, at 10:06 AM, Jens Alfke wrote: The biggest issue with the album art is simply getting the image into PICT format, since last I checked, iTunes won't accept any other format. Unfortunately NSImage can read but not generate PICT. The only way I found to do it was to use ick

Re: Setting iTunes album art with ScriptingBridge

2008-05-23 Thread has
Bill Monk wrote: The biggest issue with the album art is simply getting the image into PICT format, since last I checked, iTunes won't accept any other format. Unfortunately NSImage can read but not generate PICT. The only way I found to do it was to use ick QuickDraw APIs to create a GWorld,

Re: Setting iTunes album art with ScriptingBridge

2008-05-23 Thread has
On 24 May 2008, at 01:22, Bill Monk wrote: Maybe the solution on Leopard is as simple as to stop trying to give it PICT (a requirement that's documented as much by folklore as anything) and use PNG instead. Yeah, all you can really do is experiment till you find something that works for

Re: Setting iTunes album art with ScriptingBridge

2008-02-28 Thread Dave Verwer
Thanks for the reply, I eventually solved this by resorting back to AppleScript for the artwork stuff, ugly but it works... As for posting source to the list, thanks for the tip. Some lists frown upon it so I have been using Pastie but I will paste small code samples inline from now on. Cheers

Setting iTunes album art with ScriptingBridge

2008-02-27 Thread Dave Verwer
I am trying to set album art for an iTunesTrack obtained using ScriptingBridge and really getting nowhere with it. I have cobbled the following code together from various sources and code examples on the web: http://pastie.caboo.se/158088 Note that in the code sample, file is an NSString