Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!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: Multiple Find Message-ID: <2812.276EF459@blkcat.fidonet.org> Date: 17 Dec 90 19:49:42 GMT Sender: ufgate@blkcat.fidonet.org (newsout1.26) Organization: FidoNet node 1:109/421 - The Twilight Clone, Paul Heller Lines: 30 Allan Balliett asks: "Hey--I have a customer who wants to put several similar stacks into a folder and then be able to search then ALL with one FIND command (with RETURN initiating FIND AGAIN) For some reason this is drawing a blank for me: A. IS there some way to get a list of stack within the folder and create a list of stacks to search EACH time a FIND is issued?" Offhand guess. You'll want to lay your hands on something like F. Rinaldi's FileList XCMD (here on the Clone, and I'm sure many FTP sites). Use that to find out the names of the stacks in the folder then do something like: find "blah blah" in this stack if the result is "Not Found" then go stack 'first in list you just got' find "blah blah" in this stack if the result is "Not Found" then go stack "next in list' .... You can turn that into a nice loop probably and also make the finds "find "blah" in stack 'nth in list'". It'll be slow though with all the stack switching. Also, lock the screen until you find something or reach the end of the stacks THEN unlock it. Also, you'll want to set Lock Messages to True during the search so that when you switch stacks the OpenStack handlers aren't executed. -- 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