rawKeyDown in standalones
richmondmathewson at gmail.com
Sun May 19 10:48:13 EDT 2013
This is a cross platform problem (well, Mac, Windows and Linux).
In a stack one can trap keyDowns from the numeric keys that run along
the top of a standard keyboard
on rawKeyDown RK
if RK = 49 then
send "mouseUp" to button "DO_SOME_SCRIPT"
[ 49 is the keycode for '1' ]
and the code in button "DO_SOME_SCRIPT" will be executed.
In standalones it will NOT;
end users will get nothing, or a '1' in their textField.
More information about the Use-livecode