New question #269175 on Sikuli: https://answers.launchpad.net/sikuli/+question/269175
Hello I'm using Sikuli 1.0.1 my code: def my_handler(event): print "My handler", event.match dz.scr.onAppear(Interface.Loading['play_w7'], my_handler) dz.scr.observe(60, True) for i in range(30): print('----------------------' + str(i)) sleep(0.5) If my handler works out at least once, it does not work next time when it finds required image. And I forced to run it this way: def my_handler(event): print "My handler", event.match dz.scr.stopObserver() dz.scr.observe(60, True) Do I do it right or there is another way? -- 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 : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp