controlkeydown

Scott Rossi scott at tactilemedia.com
Wed Feb 20 19:41:01 EST 2002


On Wednesday, February 20, 2002, at 04:30  PM, Pierre Delain wrote:

> Sorry but when I use controlkeydown T (without the quotes, as you 
> say), I
> get a result, but the result is the same whatever the key. I if press 
> ctrl F
> or ctrl G, for example, the result is exactly the same as ctrl T!!
>  So the question remains : how to use controlkeydown to get a different
> result for ctrl T or ctrl F?

The following works for me:

on controlKeyDown K
    if K = "T" then doMyTstuff
    if K = "F" then doMyFstuff
end controlKeyDown

Regards,

Scott Rossi
Creative Director, Tactile Media
scott at tactilemedia.com
http://www.tactilemedia.com




More information about the Use-livecode mailing list