the mouseText and Unicode

J. Landman Gay jacque at hyperactivesw.com
Sat Jun 18 00:33:58 EDT 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 hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com




More information about the use-livecode mailing list