It does not work onAppear
Asked by
Chp
Hello
I'm using Sikuli 1.0.1
my code:
def my_handler(event):
print "My handler", event.match
dz.scr.
dz.scr.observe(60, True)
for i in range(30):
print(
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.
dz.
Do I do it right or there is another way?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- RaiMan
- Solved:
- Last query:
- Last reply:
To post a message you must log in.