Keydown combination

Sarah Reichelt sarahr at genesearch.com.au
Wed Aug 17 23:12:34 EDT 2005


> I have keyboards with the " FN " key and was looking to use a key  
> combination of keydown "FN + F7" on opening a stack or card.   
> Anyone know how I can accomplish this key combination, is it  
> possible ?
> Thanks

I'm not quite sure what you want to achieve, but if you want to  
detect the F7 key, you need to use the functionKey message which will  
get sent whenever you press any function key. It sounds like your  
keyboard requires a modifier key to be held down to use the function  
keys, but that doesn't matter to Rev.

e.g.

on functionKey pKey
   if pKey = 7 then
     -- do whatever you wanted to do when F7 was pressed
   else
     pass functionKey
   end if
end functionKey

HTH,
Sarah




More information about the use-livecode mailing list