Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!purdue!tut.cis.ohio-state.edu!gem.mps.ohio-state.edu!usc!henry.jpl.nasa.gov!elroy.jpl.nasa.gov!ames!zodiac!jtn From: jtn@zodiac.ADS.COM (John Nelson) Newsgroups: comp.sys.mac.programmer Subject: Re: SFGetFolder Message-ID: <9741@zodiac.ADS.COM> Date: 9 Nov 89 18:15:36 GMT References: <709@maytag.waterloo.edu> Sender: news@zodiac.ADS.COM Reply-To: jtn@ads.com (John Nelson) Organization: Advanced Decision Systems, Mt. View, CA (415) 960-7300 Lines: 21 In article <709@maytag.waterloo.edu> jb@aries5.UUCP () writes: >Has anybody written a SFGetFolder/SFPutFolder routine -- What I want to be > able to do is select or create a folder in a nice manner. > >The problem that I have with the implementations that I have seen of >selecting a folder i.e. 'Set Transfer Directory...' I'm writing an application that basically does just this, however it doesn't consist of one function call. You have to write a filter function for SFPGetFile to handle the directories and some parameter block routines to stat the files to see if they're files or folders. It isn't finished yet so I really don't know if it can be done this way or not. I'll let you all know what happens when it is done. John T. Nelson UUCP: sun!sundc!potomac!jtn Advanced Decision Systems Internet: jtn@potomac.ads.com 1500 Wilson Blvd #512; Arlington, VA 22209-2401 (703) 243-1611