Re: Customizing the preview in the file browser dialog
Re: Customizing the preview in the file browser dialog
- Subject: Re: Customizing the preview in the file browser dialog
- From: Uli Kusterer <email@hidden>
- Date: Fri, 26 May 2006 13:31:03 +0200
Am 25.05.2006 um 17:03 schrieb Vinay Prabhu:
I am designing an application, where I need to play the audio files.
While opening the audio files using NSOpenPanel,
how to customize the preview so that, a small player appears in the
preview.
As like in finder a small player appears when audio files are
selected.
I don't know of any way to specifically show a preview in Finder/
Open panel. However, there's two routes I can think of:
1) Write a QuickTime importer for your type. Finder previews
QuickTime files, so they could be played there. Of course, this
doesn't work because the NSOpenPanel doesn't show any previews at all.
2) Create an accessory view for your panel that works on the selected
item and contains a "play" button. Of course, this won't integrate it
into the Finder, and it also won't put the preview stuff in the
column with the additional info on a selected file...
Cheers,
-- M. Uli Kusterer
http://www.zathras.de
_______________________________________________
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