sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #27181
Re: [Question #251941]: observation in sikuli
Question #251941 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/251941
Status: Open => Answered
RaiMan proposed the following answer:
what you want to observe (searchRegion.onAppear) has to be defined
before you do the observe (searchRegion.observe)
searchRegion.onAppear("1405934927657.png", popupHandler)
searchRegion.observe(FOREVER, background=True)
click("1405934033556.png")
wait(5)
popup("END") # you hope, it appears within 5 seconds after the click (enough?)
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.