Path: utzoo!attcan!uunet!wuarchive!decwrl!shelby!neon!pescadero.Stanford.EDU!philip From: philip@pescadero.Stanford.EDU (Philip Machanick) Newsgroups: comp.sys.mac.programmer Subject: Re: How do you over-ride the SFGetFile Warning? Message-ID: <1990Oct1.192724.16764@Neon.Stanford.EDU> Date: 1 Oct 90 19:27:24 GMT References: <1990Sep27.174124.20713@eng.umd.edu> <12600@hoptoad.uucp> Sender: news@Neon.Stanford.EDU (USENET News System) Reply-To: philip@pescadero.stanford.edu Organization: Computer Science Department, Stanford University Lines: 21 In article <12600@hoptoad.uucp>, tim@hoptoad.uucp (Tim Maroney) writes: |> In article time@tbomb.ice.com writes: |> >>I have a case where a user is selecting a file for appending data. |> >>Unfortunately, SFGetFile always asks "Replace existing ...."! |> >> |> >>Is there any documented means of over-riding this warning? |> >>Can it be done via the filter procedure? |> |> In article <1990Sep27.174124.20713@eng.umd.edu> russotto@eng.umd.edu |> (Matthew T. Russotto) writes: |> >You aren't using SFGetFile, you are using SFPutFile. If you use SFGetFile, |> >you shouldn't have any such problem. |> |> I'm sure Mr. Endres is thanking you for this helpful message. |> Actually, I think this _is_ the correct way - if you are _appending_ to an existing file, you want to select its name from a list of existing files, not type it in as a new name. -- Philip Machanick philip@pescadero.stanford.edu