Hello !!!
I use IfWindowOpen and WaitWindowClosed to control the script. I have the problem when by means of another IfWindowOpen I want to control to the opening of another window but the script it is stopped in the previous WaitWindowClosed.
For example, I hope that the user opens a window with IfWindowOpen and I wait, with WaitWindowClosed, for the entry of information until it closes the window.
I also attempt control that he click a button and opens a certain window between IfWindowOpen and WaitWindowClosed to control this new window with IfWindowOpen, but this sometimes works and sometimes not.
Some idea?
Greetings,
Reimon
IfWindowOpen and WaitWindowClosed
Moderators: JRL, Dorian (MJT support)
This script works with Notepad and google.com. Run the script below and open a Notepad window and leave it open, next load google.com and close the Google page when you get the message that google is open. Finally close the Notepad window to return to WindowIsNotOpenLoop.
I hope this was helpful.
Rain
Code: Select all
Label>WindowIsNotOpenLoop
Wait>0.05
IfWindowOpen>Notepad*,WindowIsOpen
Goto>WindowIsNotOpenLoop
Label>WindowIsOpen
MessageModal>Notepad Open
Label>WindowIsOpenLoop
Wait>0.05
IfWindowOpen>Google*,GoogleIsOpen
IfWindowOpen>Notepad*,WindowIsOpenLoop
MessageModal>Notepad Closed
Goto>WindowIsNotOpenLoop
SRT>GoogleIsOpen
MessageModal>Google Open%CRLF%Close Google window and click OK
END>GoogleIsOpen
Rain
Very Thanks
Rain,
Very Thanks.
Greetings,
Reimon
Very Thanks.
Greetings,
Reimon