sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #17148
Re: [Question #224893]: Sequential Vs POP UP
Question #224893 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/224893
j posted a new comment:
You could also use the observer()-method to observe the screen.
def closePopup():
click(okbutton)
onAppear(popupimage, closePopup)
observe(FOREVER, True)
This will start the observation of the screen and click the okbutton everytime the popupimage is found.
As the observer will start a new thread, you will not have to use two different scripts.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.