Rob Cozens rcozens at
Wed Feb 20 12:12:00 EST 2002

>I try to use the following handler to create a shortcut with the "T" :
>on controlkeydown "T"
>  DoSomeThing
>end controlkeydown
>There is no reaction. What is wrong in my handler?

Salut Pierre!

Try this:

	on controlKeyDown zaKey
		if zaKey is "T" then doSomething else pass controlKeyDown
	end controlKeyDown

Rob Cozens
CCW, Serendipity Software Company

"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."

from "The Triple Foole" by John Donne (1572-1631)

More information about the Use-livecode mailing list