Exit Repeat

Mark Smith mark at maseurope.net
Sun Mar 19 14:46:22 EST 2006

And while we're on the subject, does anyone have a way of finding out  
if the escape key is down?

This would be a more natural key to use to abort, but I can't see a  
way to do it, it doesn't register with keyDown, and doesn't show up  
in keysDown()...It might be good to be able to use it like the  
control/option/command keys.


On 19 Mar 2006, at 19:32, Mark Smith wrote:

> Maybe a send in time solution?
> repeat
> 	if the controlkey is down -- user presses the control key
>  	   send "go cd x" to me in 10 millisecs
>   	   exit to top
> 	end if
> ....
> end repeat

More information about the Use-livecode mailing list