Richmond,
I don’t know the character “7637”.
But i thought you wanted to write like this.
on mouseUp
if char 2 of fld 1 is numToCodepoint(12356) then
put numToCodepoint(12354) into char 2 of fld 1
end if
end mouseUp
the script changes “あいうえお” to “ああうえい”.
--
Kenji Kojima / 小島健治
http://www.kenjikojima.com/
> On Oct 26, 2014, at 3:45 PM, Richmond <[email protected]> wrote:
>
> I wonder why this doesn't work:
>
> on mouseUp
> set the useUnicode to true
> if char 2 of fld "ff" is numToChar(7637) then
> set the unicodeText of char 2 of fld "ff" to numToChar(100)
> end if
> end mouseUp
>
> -------------------------------
>
> AND, while I'm here:
>
> why, when I copy from the scriptEditor do I have to paste it into LibreOffice,
> and then recopy it to paste it into Thunderbird because it won't copy-paste
> directly into my e-mail client (Thunderbird)?
>
> Richmond.
> _______________________________________________
> use-livecode mailing list
> [email protected]
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode