Exit Repeat
Mark Smith
mark at maseurope.net
Sun Mar 19 15:04:13 EST 2006
Andre, the trouble is that in the case of interrupting a repeat loop,
you can't test for whether the escape key is down like you can with
control/option/command.
So use control/option/command, of course :)
But the escape key would be more natural...
Marl
On 19 Mar 2006, at 19:56, Andre Garzia wrote:
> 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
>
> _______________________________________________
> 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