rawKeyDown and key codes

Paul Gabel paulgabel at comcast.net
Sun Sep 23 16:15:21 EDT 2007


Hello everybody:

In the Docs under rawKeyDown I find this sample script ...

   on rawKeyDown theKeyNumber
     if theKeyNumber is 65308 then increaseScroll -- mouse wheel down
     else if theKeyNumber is 65309 then decreaseScroll -- mouse wheel up
     else pass rawKeyDown -- don't forget this!
   end rawKeyDown

... but I can't figure out how to get theKeyNumber in the first  
place. I know it's just a rawKeyDown parameter here, but how would I,  
for example, determine "theKeyNumber" for a comma so that I can trap  
for it? Is there a list some place? Thanks.

Paul Gabel 


More information about the use-livecode mailing list