Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!wuarchive!udel!rochester!uhura.cc.rochester.edu!jdic From: jdic@uhura.cc.rochester.edu (Jonathan Dick) Newsgroups: comp.sys.mac.hypercard Subject: Find Help needed Message-ID: <9063@ur-cc.UUCP> Date: 24 Aug 90 07:54:07 GMT Reply-To: jdic@uhura.cc.rochester.edu (Jonathan Dick) Organization: University of Rochester Lines: 46 I think I may have seen this question answered here a few months ago, but what can I say... I wasn't paying attention. Anyhow, two questions: One: I'm trying to build a search function into one of my stacks. I've built a pseudo-dialog box from bkgnd fields and buttons. Basically, I have a [Find] button, and a [Done] button with a field for the search string to be typed into. The [Done] button does two things, a) it puts Empty into the search field, and b) it hides all the dialog-box related stuff. The [Find] button script looks like this: on mouseUp find bkgnd field "Search For" in bkgnd field "Key Words" end mouseUp Now my problem: When I use the [Find] button, sure enough, it finds the first occurrance of the search string in the key words field. However, I can't get past this point. I'd like to go on to find the next occurrance of the string, but HyperTalk seems to start the search from scratch each time. If I type: find "foo" in bkgnd field "Key Words" into the message box, and hit Return, it finds without a problem. Subsequent Returns take me to the next match of the string. Why the difference between these examples? What is it I'm not understanding about HyperTalk? Most importantly, what can I do about this? Question Two: Is there an archive site, or a list somewhere of the most commonly asked questions in this newsgroup? I hate to waste time & bandwidth re-asking questions that have already been explained... Thanx for your help & patience... -Jon