invoking quicklook via code

2008-06-04 Thread Memo Akten
Hi All, Im building a little cocoa app, its mainly a quartz composer composition + custom plugin, which I'm embedding and controlling via QCRenderer. I'm writing a Quartz Composer plugin which creates a few buttons and when you click one I would like to launch a quicktime file, but I would like

Re: invoking quicklook via code

2008-06-04 Thread Jonathan Dann
Is it possible to somehow just launch the quicklook window for a quicktime file? The quicklook framework is private and therefore should cannot be reliably used in an app. There are a few site out there that give example code that calls it though. You could use NSWorkspace to bring

Re: invoking quicklook via code

2008-06-04 Thread Nick Zitzmann
On Jun 4, 2008, at 3:48 PM, Jonathan Dann wrote: The quicklook framework is private and therefore should cannot be reliably used in an app. There are a few site out there that give example code that calls it though. Since when was this? QuickLook is not a private framework, and it is

Re: invoking quicklook via code

2008-06-04 Thread Memo Akten
Thanks for the replies guys. What I would like to do, may be a lot simpler than what i may have explained. I just want my app to launch the quicktime movie, in what looks like exactly like the finder quicklook window - in fact if its possible to even somehow do it with an applescript or

Re: invoking quicklook via code

2008-06-04 Thread Charles Steinman
--- Memo Akten [EMAIL PROTECTED] wrote: Is it possible to somehow just launch the quicklook window for a quicktime file? The publicly available way to activate Quick Look is to call the qlmanage command line tool. Why they didn't make the QuickLookUI framework public is beyond me (I spent

Re: invoking quicklook via code

2008-06-04 Thread Nick Zitzmann
On Jun 4, 2008, at 4:25 PM, Memo Akten wrote: Thanks for the replies guys. What I would like to do, may be a lot simpler than what i may have explained. I just want my app to launch the quicktime movie, in what looks like exactly like the finder quicklook window - in fact if its possible

Re: invoking quicklook via code

2008-06-04 Thread Jonathan Dann
On 4 Jun 2008, at 23:18, Nick Zitzmann wrote: On Jun 4, 2008, at 3:48 PM, Jonathan Dann wrote: The quicklook framework is private and therefore should cannot be reliably used in an app. There are a few site out there that give example code that calls it though. Since when was this?

Re: invoking quicklook via code

2008-06-04 Thread Memo Akten
Thanks for the tips guys, qlmanage -p seems to do the trick for now - though I guess I won't have any control over it? or can detect when its finished? (or can that be done with AppleScript or something)... and now lets see if it works from within a QCPlugIn :P Memo (Mehmet S. Akten)

Re: invoking quicklook via code

2008-06-04 Thread has
Nick Zitzmann wrote: Thanks for the replies guys. What I would like to do, may be a lot simpler than what i may have explained. I just want my app to launch the quicktime movie, in what looks like exactly like the finder quicklook window - in fact if its possible to even somehow do it with an

Re: invoking quicklook via code

2008-06-04 Thread Julien Jalon
In fact, this is not entirely true... there is no public way to activate Quick Look. qlmanage is for debugging purpose only. What's public is: 1) QLThumbnailImageCreate() in QuickLook framework 2) ImageKit usage of Quick Look -- Julien On Wed, Jun 4, 2008 at 3:29 PM, Charles Steinman [EMAIL