PDA

View Full Version : Wait till Window is closed



Ron
October 13th, 2002, 12:55 PM
Maybe the task-create plugin, this also sends an event when the application closes.

Mark F
October 13th, 2002, 12:55 PM
I'm not Ron but you could try using the Window Exists command under the Girder tab along with a wait to build a while loop. What I mean is something like this:


While (WindowExists() == TRUE)
{
Wait(500ms)
}

This has the drawback that while the loop is executing, no other commands will be executed by Girder. If you'd like a version that doesn't have this drawback, we could use the User Event plugin and send a delayed event instead of using the wait function.

I've attached a .gml file that does this. You will need to target the WindowExists() command to work in YOUR environment.

I hope this is what you are looking for.

chrisi
October 13th, 2002, 12:55 PM
Is there a way to wait till the Window is gone?

chrisi
October 13th, 2002, 12:55 PM
Do you have a solution Ron?

chrisi
October 13th, 2002, 12:55 PM
I'm not Ron but you could try using the Window Exists command under the Girder tab along with a wait to build a while loop. What I mean is something like.

Work's great for me!!
Thanx a lot!

Marsupial
October 13th, 2002, 12:55 PM
Er... Ron might be away for a while for other matters, so don't expect to have an answer absolutely from him.

I would help, but I don't understand what it is you're trying to do. Please be more specific. Explain the problem. put ourselves into context.

I whish to help, help me helping you...