What everyone said, though I would:
wait 120 seconds with messages. Anyway, you see that "wait" is blocking, and either standard way out of it will release control to the engine while you, er, wait. The "send in time" method is more robust. Craig Newman -----Original Message----- From: Magicgate Software - Skip Kimpel <[email protected]> To: How to use LiveCode <[email protected]> Sent: Mon, May 13, 2013 8:22 pm Subject: Timed scripts without locking up functionality 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 [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
