Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!blkcat!f421.n109.z1.fidonet.org!Ken.Knight From: Ken.Knight@f421.n109.z1.fidonet.org (Ken Knight) Newsgroups: comp.sys.mac.hypercard Subject: Re: Obtain File Directory Message-ID: <3288.27AFE1D7@blkcat.fidonet.org> Date: 5 Feb 91 23:20:27 GMT Sender: ufgate@blkcat.fidonet.org (newsout1.26) Organization: FidoNet node 1:109/421 - The Twilight Clone, Paul Heller Lines: 26 mwgst1@unix.cis.pitt.edu (Michael W Groff) asks: >From within Hypercard 2.0 how do I present the user with a standard >file >selector dialoge box in order to allow the selection of a *folder*. >Once the path to the folder is available I want to read in the names of >all of the files inside the folder the user chose. You have two choices: 1. You write an Xthingie to do this, Micheal. The way to write such an file dialog is demonstrated in the DTS sample program StdFile (SC.018). The way you could go about making it scan the folder and internal folders is discussed in tech note 68. 2. I believe Frank Rinaldi's GetDir external may do what you want. However, I won't swear to it (don't have the thing here so I can't get for sure). Internet: ken.knight@f421.n109.z1.fidonet.org America Online: KenKnight "Goodness me; could this be; Industrial Disease?" -- Ken Knight, Ken.Knight@f421.n109.z1.fidonet.org via The Black Cat's Shack's FidoNet<->Usenet Gateway blkcat.fidonet.org and Fidonet 1:109/401