richmondmathewson at gmail.com
Mon Oct 11 12:49:05 EDT 2010
On 10/11/2010 02:06 PM, Colin Holgate wrote:
> This might give you an idea:
> on checkkeys
> send checkkeys to me in 100 milliseconds
> put shiftkey()
> end checkkeys
if shiftkey() is down then
put "DOWN" into fld "fSHIFT"
if shiftkey() is up then
put "UP" into fld "fSHIFT"
in the card script
works on Linux, but NOT on Mac because pressing the SHIFT key
does not send a rawKeyDown on a Mac . . .
One can trap for rawKeyDown for a "normal" key and then if that key is down
do something like this:
if the shiftKey is down then
do blah, blah, blah
what I cannot work out how to do is find out if the SHIFT key is down
having to plonk my fat fingers on some other key as well.
More information about the Use-livecode