[1.0.1] OnAppear()/observe() only works the first time for one image in same region
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SikuliX |
Fix Committed
|
Critical
|
RaiMan |
Bug Description
--- fixed with 1.1.0
see the docs:
http://
for how to repeat onAppear(
-------
my purpose is to deal w/ 1 button which will appear several times in a game(actually it is the angrybird game) ,then i used the onappear(
what i think is that it can deal each time when button shows until the script end.
below is my test code :
def myHandler(event):
click(
wait(5)
Settings.
onAppear(
observe(
for i in range(1,5000):
print "testing....."
wait(5)
Changed in sikuli: | |
status: | New → Fix Committed |
importance: | Undecided → High |
assignee: | nobody → RaiMan (raimund-hocke) |
milestone: | none → 1.1.0 |
description: | updated |
summary: |
- OnAppear()/observe() only works the first time for one image in same - region + [1.0] OnAppear()/observe() only works the first time for one image in + same region |
Changed in sikuli: | |
importance: | High → Critical |
description: | updated |
tags: | added: fkt-observe |
summary: |
- [1.0] OnAppear()/observe() only works the first time for one image in - same region + [1.0.1 ok] OnAppear()/observe() only works the first time for one image + in same region |
description: | updated |
summary: |
- [1.0.1 ok] OnAppear()/observe() only works the first time for one image - in same region + [1.0.1] OnAppear()/observe() only works the first time for one image in + same region |
This bug is still present in 1.1.0