Path: utzoo!mnetor!uunet!iconsys!tom From: tom@iconsys.UUCP (Tom Kimpton) Newsgroups: comp.sys.mac Subject: Re: SFGetFile question Message-ID: <186@iconsys.UUCP> Date: 23 Dec 87 05:15:37 GMT References: <508@vub.UUCP> <3600016@iuvax> <8119@prls.UUCP> Reply-To: tom@iconsys.UUCP (Tom Kimpton) Organization: Icon International Inc., Orem, Utah Lines: 19 In article <8119@prls.UUCP> gardner@prls.UUCP (Robert Gardner) writes: >I am trying to call SFPGetFile twice in a row to get two input >files from the user. On the second call I want to filter out >the file they chose the first time. > Tim Maroney (I believe) posted a really good routine last week called GetVolDir(vRef,volptr,dirptr) that takes a vRefNum, and returns, through the pointers, the volume and directory numbers. Using these in your filter, with the name, and the passed-in paramblock, should do what you want. Hope that helps. -- Tom Kimpton {ihnp4,uunet}!iconsys!tom Icon International, Inc. {ihnp4,psivax}!nrcvax!nrc-ut!iconsys!tom Orem, Utah 84058 ARPANET: icon%byuadam.bitnet@wiscvm.wisc.edu (801) 225-6888 BITNET: icon%byuadam.bitnet