rawKeyDown slightly cooked

Richmond richmondmathewson at gmail.com
Mon Dec 23 15:52:45 EST 2013


If I run a script like this:

on rawKeyDown RKD
    put RKD into fld "RKD"
end rawKeyDown

on Linux (UbuntuStudio 13.10) using the standard US English layout I get
the raw keycodes.

when I switch over into a Bulgarian keyboard layout I get
numbers that are:

1. not raw keycodes

and

2. on numToChar with them end up with Arabic letters.

Now that is a bit odd.

on changing the script to this:

on keyDown RKD
    put RKD into fld "RKD"
end keyDown

with US English I get the letters I would expect,

with the Bulgarian keyboard layout I get nothing.

Richmond.




More information about the use-livecode mailing list