• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
how to force NSSavePanel not to display 'Replace' dialog?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Prev by Date: Re: Bug in NSArrayController? (immutable instead of mutable dictionaries)
  • Next by Date: Re: Array of dictionaries + NSUserDefaultsController
  • Previous by thread: Re: confused about framework headers
  • Next by thread: Apple's Fancy Directories w/ Custom Icons
  • Index(es):
    • Date
    • Thread