Re: Preventing NSSavePanel from alerting file overwrite
Re: Preventing NSSavePanel from alerting file overwrite
- Subject: Re: Preventing NSSavePanel from alerting file overwrite
- From: Gordon Apple <email@hidden>
- Date: Wed, 06 Jun 2012 20:06:33 -0500
- Thread-topic: Preventing NSSavePanel from alerting file overwrite
So far, I haven¹t been able to get what I want with NSOpenPane. I will file
an enhancement request.
I want the user to specify the record file URL, either new or select one
existing. Later, if he decides to actually record, it will simply start
recording if the file does not already exist. Otherwise, I present a panel
with the file path and ask if he wants to overwrite it. This is so he/she
can do the prep before starting a live recording, but be reminded if a
second session is about to overwrite the first (and which is displayed) , so
he has a chance to apply a new file name. At record time, if the file
exist, the new alert can give three choices, cancel, overwrite, or specify a
new file name. In this scenario, the initial prep file selection overwrite
alert is redundant, which is why I would like to eliminate it.
On 6/6/12 1:12 PM, "Mike Abdullah" <email@hidden> wrote:
> Use an NSOpenPanel instead?
>
> On 6 Jun 2012, at 18:04, Gordon Apple wrote:
>
>> > Is there a way to block NSSavePanel from alerting a file overwrite? I¹m
>> > using it simply to establish a URL and later alert about overwrite when a
>> > record command is issued. I would prefer to not have the user see this
>> > twice.
>> >
>> > _______________________________________________
>> >
>> > 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
>
_______________________________________________
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