Article View: comp.sys.mac
Article #23108Re: SFGetFile question
From: Tom Kimpton
Date: Wed, 23 Dec 1987 05:15
Date: Wed, 23 Dec 1987 05:15
19 lines
1159 bytes
1159 bytes
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
Technical Details
Message-ID:
<186@iconsys.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!uunet!iconsys!tomReferences:
<508@vub.UUCP> <3600016@iuvax> <8119@prls.UUCP>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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