On 2 Aug 2011, at 11:39, Rick C. wrote: > Hi all, > > I want to include this feature in my app and the way I want it to work is if > a user selects a file in my table view and clicks a button it will open that > file in a quick look panel just the way it works in Finder. Actually if > there was only a way to trigger that easily like NSWorkspace or something I'd > use it! Now I need to support 10.5 still and unfortunately I see a lot of it > became formal in 10.6. But is it possible to achieve what I'm looking to do? > I have download QuickLook Sketch sample code am I going in the right > direction because I wasn't hoping to make any plugins. Any pointers would be > great thanks! >
Checkout NSImage+QuickLook available at http://mattgemmell.com/source. This doesn't use the formal 10.6+ API but calls /usr/bin/qlmanage instead. Works fine on 10.5, 10.6 and 10.7 Regards Jonathan Mitchell Developer Mugginsoft LLP http://www.mugginsoft.com _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com