New question #662733 on Sikuli: https://answers.launchpad.net/sikuli/+question/662733
I have a script ### def test(event): Settings.reg.mouseMove(event.match) mouseDown(Button.MIDDLE) mouseUp(Button.MIDDLE) event.stopObserver() def test1(event): .... Settings.reg = Region(0,0,1279,1023) Settings.reg.onAppear("1515499615589.png",test) Settings.reg.onAppear("1515502700206.png",test) Settings.reg.observeInBackground(FOREVER) while True: MyMainCode.... ### On certain occasions, I need to stop the observation without the image appearing. I have to do this in mymaincode. and then go back to observe, again in mymaincode How can I do that? -- 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 : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp