Forum Discussion
sbkeenan
11 years agoFrequent Contributor
Hi Murugan
If you are using Aliases, is it possible for you to map the command window so that you can use the WaitAliasChild function. Something along the lines of
while (<application>.WaitAliasChild("<window>", 500).Exists)
{
delay(1000);
}
This will test, for half a second, to see if your command window still exists. If so, it will wait for one second, then test again. When the test fails, i.e. the command window is closed, the loop will end.
Regards
Stephen.