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" <cocoa...@mikeabdullah.net> 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 (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:
>> > 
>> https://lists.apple.com/mailman/options/cocoa-dev/cocoadev%40mikeabdullah.net
>> > 
>> > This email sent to cocoa...@mikeabdullah.net
> 


_______________________________________________

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to