how to force NSSavePanel not to display 'Replace' dialog?
how to force NSSavePanel not to display 'Replace' dialog?
- Subject: how to force NSSavePanel not to display 'Replace' dialog?
- From: 김경옥 <email@hidden>
- Date: Fri, 22 Oct 2004 11:30:37 +0900
- Importance: Normal
Title: Message
Hi,
I have a problem to implement
SaveAs for image files.
I added an accessory view in my
NSSavePanel for users to select file format.
But if user enters the
file name with extension different from the selected file format in the
accessory view,
the save panel checks if the
file user entered first and then returns to my code.
How can I force NSSavePanel not
to check file duplicate?
I've tried
panel:userEnteredFilename ... , but it is also called after checking the file
duplicate by itself.
For example,
ss.tiff is in the
selected folder and
user enters ss.tiff
eventhough jpeg is selected in
the popup button in accessory view.
Because my code is going to
make the file ss.tiff.jpg or ss.jpg, the Save panel should
not check file duplicate until the user confirms that he/she is going to
use 'Use both' or '.jpg'.
Please let me know how to solve
this problem.
Thanks
G.
Kim
_______________________________________________
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