sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #29502
Re: [Question #258197]: [1.1.0] Using observe to continuously look for pattern and take actions
Question #258197 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/258197
Shafiq Khan posted a new comment:
def reactToDisconnect():
#clicks any 'x' or 'OK' button to close disconnect error popups
def dcObserver():
region.onAppear(xButton, reactToDisconnect())
region.onAppear(okButton, reactToDisconnect())
observe(FOREVER,background=True)
dcObserver()
Is this the right way of observing for multiple patterns? Also, I
couldn't implement repeat in there. Where exactly do I implement it.
What is the parent class of repeat?
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.