Button to stop a repeating script?

Kee Nethery kee at kagi.com
Mon Sep 29 19:56:06 EDT 2008


In my repeat loops I add this

if the optionkey is down then
    exit repeat
end if

It's not as slick as the messaging suggestions but it's easy and it  
works for me. If this was for "customers" I'd suggest the  
implementation ideas presented earlier.

Kee Nethery


On Sep 29, 2008, at 3:40 PM, Michael wrote:

> Hi:
>
> I searched but didn't find quite what I am trying to implement. Any  
> tips on
> the best way to do the following is appreciated:
>
> I have a Start button that starts an indefinite repeat. (It  
> downloads a bit
> of information from a web site and sends an email, waiting 5 minutes  
> until
> doing it again.) I would like a Stop button to stop the repeat, but  
> all I
> can do is Cmd-. to abort it. I tried setting a global flag but that  
> doesn't
> work, at least the way I'm doing it. Ideas?
>
> Thanks,
>
> m
>
> _______________________________________________
> 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




-------------------------------------------------
I check email roughly 2 to 3 times per business day.
Kagi main office: +1 (510) 550-1336





More information about the use-livecode mailing list