Up, Down and Sideways

J. Landman Gay jacque at hyperactivesw.com
Sun Dec 15 14:51:15 EST 2013


On 12/15/13 10:34 AM, Roger Eller wrote:

> Without another host sitting between the keyboard and the Mac, plus a
> generic virtual keyboard driver interpreting the keys, I believe rawkey
> signals would be more accurate.

As a data point, this works correctly on my Mac, inside the 6.5.1 rc 1 IDE:

on rawkeyup pKey
   if shiftkey() is down and ctrlKey() is up then
     put "SHIFT"
   end if
   if shiftkey() is up and ctrlKey() is down then
     PUT "CONTROL"
   end if
   if shiftkey() is up and ctrlKey() is up then
     PUT "NONE"
   end if
end rawkeyup

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com




More information about the Use-livecode mailing list