Timed scripts without locking up functionality

kee nethery kee at kagi.com
Mon May 13 20:26:18 EDT 2013


-- use a 

send magicgatemouseup to stack "mystack" in 120 seconds


-- then in your stack

on magicgatemouseup
   processRequest
   if condition is not met then
      send magicgatemouseup to stack "mystack" in 120 seconds
   end if
end magicgatemouseup


On May 13, 2013, at 5:21 PM, Magicgate Software - Skip Kimpel <skip at magicgate.com> wrote:

> I am having a hard time researching a solution since most of the forums are
> down :)  Here is my issue, hopefully somebody has the simple answer to my
> question...
> 
> I have a script that runs every two minutes and I have been calling it with:
> 
> on mouseUp
>  wait for 120 seconds
>  processRequest
> end mouseUp
> 
> I then call a repeat script that keeps checking for the status and
> repeating it until a condition is met.  Obviously when I do this it locks
> up my software until the condition has been satisfied.
> 
> How can I do this without locking everything up?
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the Use-livecode mailing list