Path: utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!bloom-beacon!mit-eddie!killer!pollux!ti-csl!m2!holland From: holland@m2.csc.ti.com (Fred Hollander) Newsgroups: comp.sys.mac.programmer Subject: Re: Setting a default folder Keywords: FSGetFile Message-ID: <63398@ti-csl.CSNET> Date: 13 Nov 88 16:42:02 GMT References: Sender: news@ti-csl.CSNET Reply-To: holland@m2.UUCP (Fred Hollander) Organization: TI Computer Science Center, Dallas Lines: 19 In article elkins@topaz.rutgers.edu (George Elkins) writes: > >Does anybody have any idea how to code a "Set Directory" command >on the Mac? I would like to perform a command similar to the >"cd" command in Unix, but with a dialog box similar to the Save As >command, but without a Save button, and with a Set Directory button >that can be applied to a selected directory. It will be essentially >like a Save As dialog box but only folders (directorys) will show >in the list. I think that all you need to do is put up a standard SFGetFile dialog. Then do a SetVol using the vRefNum returned from the SFGetFile. Fred Hollander Computer Science Center Texas Instruments, Inc. holland%ti-csl@csnet-rela The above statements are my own and not representative of Texas Instruments.