Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!unhd.unh.edu!oz!oddjob From: oddjob@oz.plymouth.edu (Andrew C. Stoffel) Newsgroups: comp.sys.mac.hypercard Subject: Re: Finding Text Message-ID: <1991May1.151453.14818@oz.plymouth.edu> Date: 1 May 91 15:14:53 GMT References: <284.2819CAE4@mcws.fidonet.org> Reply-To: oddjob@oz.plymouth.edu (Andrew C. Stoffel) Organization: Plymouth State College - Plymouth, N.H. Lines: 31 In article <284.2819CAE4@mcws.fidonet.org> Harry.Myhre@p2.f863.n102.z1.fidonet.org (Harry Myhre) writes: > >Steven Langlois writes in a message to All on 24 Apr 91 > >SL> I'm new to HyperTalk so bare with me. Is there a Find Again type >SL> of command in hypertalk or does find just always find the first >SL> occurance from the current card? > >With HC 2.0, yes. Type find "cat" into the message box and press return. HC >2.0 will find the first occurance of cat in your stack and put a rectangle around >it. Press return again and it will find the next occurance. Ok..... (I knew that one......) BUT how would one do it within a script ????? Do I HAVE to put what I'm looking for into the msg box along with find and send a return until there are no more occurances of what I looking for ??? I have a stack of 108 cards (with the possibility(sp?) of MORE) with eleven fields on each that I want to search & then mark the card for viewing or printing. I can mark cards with mark cards etc. and then act on those marked cards but this seems to work ONLY if I tell it to check one field. This is fine for some things (and I use it for them). How do I get it to mark EVERY card that contains something in A field that I am looking for ?? Find doesn't SEEM to work from a script .... -- |"The Snark WAS a Boojum, you see!"|Good : acs@unhd.unh.edu | |"Reality !?! Isn't that something |Better : ANDYS@psc.plymouth.edu | | you sprinkle on ice ??" |Best : oddjob@oz.plymouth.edu |