Guest
|
Posted: Thu Apr 03, 2008 9:26 am Post subject: Remote Desktop + Inactive Child Window = IfWinExists wan't |
|
|
...work.
I have script that should automatically click one button on eventually appearing child window. Here is my script:
| Code: |
loop
{
IfWinExist, Server Busy
{
IfWinNotActive, Server Busy, , WinActivate, Server Busy,
WinWaitActive, Server Busy,
MouseClick, left, 178, 123
}
Sleep, 5000
}
|
so, when I minimize terminal window and parent window becames inactive, the "Server Busy" dialog window becames invisible to script even in I maximize terminal window again.
if I click somewere on parent window then script finds "Server Busy" window and clicks on it as it supposed to do. |
|