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: Vinay Prabhu <email@hidden>
- Date: Mon, 29 May 2006 18:22:16 +0530
- Importance: Normal
Hi all,
Using the "setAccessaryView" I am able to attach a custom button to the open
panel.
How to get, which files are selected while running the modal loop for open
panel?
Regards
Vinay
-----Original Message-----
From: Uli Kusterer [mailto:email@hidden]
Sent: Friday, May 26, 2006 5:01 PM
To: Vinay Prabhu
Cc: email@hidden
Subject: Re: Customizing the preview in the file browser dialog
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
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s)and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender or email@hidden
_______________________________________________
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