Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!sm.unisys.com!csun!csuchico!robin From: robin@csuchico.EDU (Robin Goldstone) Newsgroups: comp.sys.mac.hypercard Subject: question about implementing a 'find' Keywords: find Message-ID: <1191@csuchico.EDU> Date: 3 Mar 89 17:46:15 GMT Distribution: usa Organization: California State University, Chico Lines: 23 I am writing my first hypercard stack and could use a little advice on how to implement something: I want to implement the 'find' command via a button, allowing the user to hit the button repeatedly to continue the search for the same item if the first match is not the right one. With the "Find..." menu command, this is implemented by doing an initial 'find' then repeatedly pressing return to find subsequent matches. I do not want to use the menu "Find..." command because it requires the user to understand about entering the text only the first time, then using return. In fact, I will probably hide the menu bar when I am done. Instead, I want to use the HyperTalk 'ask' command to get the string, then use the HyperTalk 'find'. For those of you who are still awake, here's the problem - my 'find' button cannot keep issuing the 'find' command, because this just finds the first occurrance over and over. How do I simulate the pressing of the return key to find subsequent occurrances of the string? I hope I haven't confused you all or asked something that you just covered yesterday... Post a reply if you want or reply directly to robin@csuchico.edu. Thanks, Robin Goldstone, Systems Software Specialist California State University, Chico Computer Center