Question #692455 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/692455
Status: Answered => Open
Javier Gonzales Rodriguez is still having a problem:
Hi @masuo,
Am testing the observer function but it is not working properly.
this is my code:
#MyHandler is going to call "Trade()" function only
def MyHandler(event):
try:
Trade()
pass
except:
pass
#So my observer has one region assigned and it is running in background.
msgReg.observeInBackground()
onAppear("1597989280191.png", MyHandler)
#I stop the observer like this.
msgReg.stopObserver()
the msg error that i get is this "[error] Region: observe: Nothing to observe
(Region might be invalid): R[49,635 386x69]@S(0)"
I tried with a region small and am sure that the image that am looking is right
there (clearly).
Any reason why is not working, am i doing it wrong?
Regards!
--
You received this question notification because your team Sikuli Drivers
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