Stick this one out to about 5 mins 40 seconds and things get really "nasty":
https://www.youtube.com/watch?v=sbKEEYeDLyc
Richmond.
On 23.07.2016 21:40, J. Landman Gay wrote:
What I'm getting at is that generally you shouldn't need to do any
unicode conversions at all anymore. So it would help to know how you
are using the command and in what context. There isn't a need to
specify unicode text, you can just treat everything the way we use
plain ASCII.
So, what does the script do? Does the field already contain text? Is
it generating new text? The script editor supports unicode so you can
just type the actual characters into the script if that's what you
need to do.
If this is for Devawriter, you should be able to name the keyboard
keys with their unicode character and then insert text with a single
line of code:
put the short name of me into the selection
Jacqueline Landman Gay | [email protected]
HyperActive Software | http://www.hyperactivesw.com
On July 23, 2016 12:33:21 PM Richmond <[email protected]>
wrote:
The problem is that the stack using "set the unicodeText of fld "fPROC"
to numToCodePoint(57669)"
doesn't work.
Tests with "put numToCodePoint(57669) into fld "fPROC"" do work.
That's enough of a "case" for me.
Richmond.
On 23.07.2016 20:24, J. Landman Gay wrote:
I wonder if you really need to do that any more. What's the use case?
Jacqueline Landman Gay | [email protected]
HyperActive Software | http://www.hyperactivesw.com
On July 23, 2016 11:13:58 AM Richmond <[email protected]>
wrote:
Here's a puzzle:
I need to replace thousands of lines like this:
set the unicodeText of fld "fPROC" to numToCodePoint(57669)
with this:
put numToCodePoint(57669) into fld "fPROC"
the problem is that the number of the codePoint is different in each
case.
Wildcards?
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
_______________________________________________
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
_______________________________________________
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