Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!ncar!tank!gft_robert@gsbacd.uchicago.edu From: gft_robert@gsbacd.uchicago.edu Newsgroups: comp.sys.mac.programmer Subject: How does one manage default files? Message-ID: <9087@tank.uchicago.edu> Date: 2 May 90 20:50:13 GMT Sender: news@tank.uchicago.edu Organization: University of Chicago Graduate School of Business Lines: 24 An app I'm doing for a client requires for two types of files to be open before it will work. Originally I got the files by doing it the "THINK" way (that is, just asking the user on startup to show me where the files are). The client isn't too keen on that, though, and would prefer that default files be used. How do you do this? I could just search for a default file name which was hard-coded into the program, and ask if I can't locate that file. The client thought a better idea would be to save in a resource the names of the two files most recently used, and then ask if those can't be found. Since one is not supposed to write to the resource fork of the app itself, this would require yet a third file in which to maintain these resources, right? But then I have to ask the user to find that file if it can't be found, or if the names been changed, right? Or am I making this more complicated than it need be? Any info much appreciated! Robert ============================================================================ = gft_robert@gsbacd.uchicago.edu * generic disclaimer: * "It's more fun to = = * all my opinions are * compute" = = * mine * -Kraftwerk = ============================================================================