View Full Version : Create asynchronous wait in 3.2.9

August 23rd, 2006, 11:07 PM
I think I asked this question a long time ago when 3.2 was out, and now I need to ask again...I'm creating a waiting function (used for a sleep timer for any media player that matches a list of programs) on a button press that then invokes a number of close tasks. The problem is once that button is pressed, Girder is essentially locked up until that command completes, and I think, Ron, that last time I asked this you said it was asynchronous wait I needed. I'm not using the alarm timer plugin for this, just a standard OS wait command. What should I do to make sure when the button is pressed that girder will accept and process other commands?

thanks (again)

*EDIT: I supposed I assumed the old forum and its posts had vanished and learned otherwise after posting this topic. I found the old post to which I referred above. Excuse my haste and feel free to delete the topic.*

Mark F
August 25th, 2006, 08:40 AM
Here is a thread (http://www.promixis.com/forums/showthread.php?t=5043) about a sleep timer that you could use/change/whatever. It requires the WinLUAEx plugin. There are functions in that plugin that allow you to develop an asynchronous wait function.

Another possibility is building your own stuff using the Defered or delayed processing (http://www.promixis.com/forums/showthread.php?t=9282) code I put together. This also uses the WinLUAEx plugin along with the LUAEvents plugin.

I hope this helps. :)