Inserting unicodeText into a unicode string? #2

Richmond richmondmathewson at gmail.com
Sun Aug 29 09:20:34 EDT 2010


  On 8/29/10 3:49 PM, Mike Bonner wrote:
> I don't think this applies when using get and set for unicode, but if
> its a straight text field where you can use put, there are a couple
> options.
>
> YOu can do:
>
> put "What I want inserted" into the selectedtext
>
<snip>

Thanks so much!

This works:

on mouseUp
    set the useUnicode to true
    set the unicodeText of the selectedText to numToChar(50000)
end mouseUp

Yup, I was being "a bit s-l-o-w" even if not "plain stooopid" . . .  :)

Richmond.



More information about the use-livecode mailing list