two more noob questions re "find" command

Ken Ray kray at sonsothunder.com
Tue Aug 9 00:16:18 EDT 2005


On 8/8/05 7:14 PM, "Timothy Miller" <gandalf at doctorTimothyMiller.com> wrote:

> Hi,
> 
> 1--If I use the "find" command in the single-line message box, is
> there any way to get the foundchunk? How?

get the foundChunk

:-)

You can also get the foundText, foundField, foundLine, and foundLoc.
 
> 2--If I use the find command in a script, is there any way to script
> the equivalent of hitting the return key (like when I click on a
> button), so as to find the next item, as I would do if I were using
> "find" in the single-line message box? How?

Just continue to execute "find" - it will pick up from the last boxed
selection.  Look in the Dictionary under "find" and all your questions will
be answered.

:-)

Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: kray at sonsothunder.com





More information about the use-livecode mailing list