Re: Add item to NSSavePanel sidebar
Re: Add item to NSSavePanel sidebar
- Subject: Re: Add item to NSSavePanel sidebar
- From: Jens Alfke <email@hidden>
- Date: Thu, 19 Jun 2008 18:12:25 -0700
On 19 Jun '08, at 7:57 AM, Fedor Larin wrote:
I need to allow user to save some data to a file or a recordable cd
( dvd ),
using NSSavePanel. Is it possible to programmatically add an icon
representing recordable media to NSSavePanel's sidebar? Writing
will be
performed on-fly, so standard way used in Finder with 'untitled cd'
icon and
'burn' button is unsuitable.
There's no API for that. The closest you could come is to create a
read/write disk image programmatically and mount it; then it would
show up in the sidebar since it's a user-visible mounted volume. (It
would necessarily also show up on the desktop and in other app's Save
and Open panels, too.)
—Jens
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden