the mouseText and Unicode

J. Landman Gay jacque at
Fri Jun 17 23:33:58 CDT 2011

On 6/17/11 11:07 PM, Slava Paperno wrote:

> Is there an equivalent to the mouseText, or the mouseChunk, or the
> mouseCharChunk that is Unicode-aware? Or some ingenious way to retrieve the
> word that the user clicked?

Does the "word" delimiter work? If so, you could try this in the field:

on mouseUp
   get word 2 of the mouseCharChunk
   put the number of words in char 1 to it of me into tWordNum
   put word tWordNum of me into tWordClicked
   -- do something with tWordClicked
end mouseUp

Jacqueline Landman Gay         |     jacque at
HyperActive Software           |

More information about the use-livecode mailing list