Detecting word location of a user in a field.

Frank D. Engel, Jr. fde101 at
Mon Jan 31 09:45:17 EST 2005

Hash: SHA1

I believe there is a way to do it using selectedChunk,  but not 
entirely sure of the semantics right now.  If the text is relatively 
static between tests, I suppose you could select word 5, read in the 
selectedChunk to establish a character range, then select empty and 
test the selectedChunk for overlap with the version you previously 
stored when the tab key is pressed.  Something like that, anyway.

On Jan 29, 2005, at 1:55 PM, Glen Bojsza wrote:

> I was wondering if it possible to detect when a user is in a
> particular word location in a field.
> I am trying to test for when a user uses a tab key but only when in
> the word 5 location of a field.
> thanks.
> _______________________________________________
> use-revolution mailing list
> use-revolution at
- -----------------------------------------------------------
Frank D. Engel, Jr.  <fde101 at>

$ ln -s /usr/share/kjvbible /usr/manual
$ true | cat /usr/manual | grep "John 3:16"
John 3:16 For God so loved the world, that he gave his only begotten 
Son, that whosoever believeth in him should not perish, but have 
everlasting life.
Version: GnuPG v1.2.4 (Darwin)


$0 Web Hosting with up to 120MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at

More information about the Use-livecode mailing list