Exit Repeat

Andre Garzia soapdog at mac.com
Sun Mar 19 14:56:55 EST 2006


Mark,

there is a escapekey message...

on escapekey
   --- crash dive! crash dive!
end escapekey

:D

Cheers
andre
On Mar 19, 2006, at 4:46 PM, Mark Smith wrote:

> 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.
>
> Mark
>
> 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
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list