Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!unixhub!pfkeb From: pfkeb@kaon.SLAC.Stanford.EDU (Paul Kunz) Newsgroups: comp.sys.next Subject: Re: OpenPanel for Directories Message-ID: Date: 26 Jun 91 05:26:16 GMT References: <91176.113704DWN2@psuvm.psu.edu> <1991Jun25.195535.8745@noose.ecn.purdue.edu> Sender: news@unixhub.SLAC.Stanford.EDU Organization: Stanford Linear Accelerator Center Lines: 21 Nntp-Posting-Host: kaon.slac.stanford.edu In-reply-to: songer@orchestra.ecn.purdue.edu's message of 25 Jun 91 19:55:35 GMT In article <1991Jun25.195535.8745@noose.ecn.purdue.edu> songer@orchestra.ecn.purdue.edu (Christopher M Songer) writes: It must be in the docs somewhere and I can't find it. I want an OpenPanel to allow the return of a filename which is a directory. I don't want the contents of the directory shown when the user selects it. The directory name does have a unique extension. How do I do this? (WriteNow does it sometimes... why can't I?) Thanks! -Chris First step is to declare your unique filename extension for your app with the project/attributes like you would for a plain file. Then you must install you app in ~/Apps or /LocalApps for it to take effect. Then you can go back to debugging your app and the openPanel should show your directory as if it were a file. By chance, I happened to do this procedure for the first time this weekend.