I wonder how one can enter unicodeText directly into the script editor?

When one wants to put a script into an object without opening the script editor one does this sort of thing:

set the script of btn "unicodeTest" to fld "Nonsense"

now, if fld "nonsense" contains unicodeText that just ends up delivering gobbledegook.

this:

set the useUnicode to true
set the script of btn "unicodeTest" to fld "Nonsense"

is no better . . .

the reason for this, presumably, is that when one enters unicodeText into a fld the

set the useUnicode to true  is directly addressed to the fld, while in
my rather feeble attempt above it is aimed at the script rather than the script entry field of
the script editor

if one tries this sort of thing:

set the useUnicode to true
set the unicodeText of fld "Scripts" of the script of btn "unicodeTest" to fld "Nonsense"

an error is thrown.

Richmond.

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to