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.

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to