Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!samsung!munnari.oz.au!murdu!ucsvc.ucs.unimelb.edu.au!wehi!jon From: JON@wehi.dn.mu.oz (Jon Eaves) Newsgroups: aus.mac,comp.sys.mac.programmer Subject: Re: Setting a Default Directory Message-ID: <11319@wehi.dn.mu.oz> Date: 14 Aug 90 13:27:52 GMT References: <11240@wehi.dn.mu.oz> Organization: < GUI Programmers Home > Lines: 35 In article , jackiw@cs.swarthmore.edu (Nick Jackiw) writes: > JON@wehi.dn.mu.oz (Jon Eaves) writes: [ My Stuff Hacked out ] > begin > aStr:=GetString(stringID); > if aStr<>nil then > begin > if SetVol(aStr^,0)=noErr then > begin > ... > end else error > end else error > end; > > If this doesn't work, try taking a colon on the end of the STR in your > resource file. > > Perhaps you're being bitten by an assumption that got me the first time > I tried this. The default directory is *not* the directory which appears > by default when you do SFGetFile or SFPutFile. There are low-memory > globals which deal with this; ask for details if this is the case. AAAARGH, This is what I want. I want SFGetFile to open up on a specific folder. I presumed (incorrectly obviously) that they opened up to the default directory. How do I set this up then? > +-------------------+-jackiw@cs.swarthmore.edu / !rutgers!bpa!swatsun!jackiw-+ > | nicholas jackiw | jackiw%campus.swarthmore.edu@swarthmr.bitnet | > +-------------------+-VGP/MathDept/Swarthmore College, Swarthmore, PA 19081--+ -------------------------------------------------------------------------------- Jon Eaves Whatever you do, don't mention the war. - Basil Fawlty. ACSnet ( jon@wehi.dn.mu.oz ) UUCP ( uunet!munnari!wehi.dn.mu.oz!jon ) Internet ( jon%wehi.dn.mu.oz@uunet.uu.net ) --------------------------------------------------------------------------------