sikuli find same image in screen
Asked by
eduardobedoya
I have these "empty checker boxes" images on screen that I would like to count them from top to bottom and hover the mouse over the last one (the one at the bottom) using Sikuli. I don't know if it is really necesary to count them to do so.
I have search on the web and have tried this code to count the images:
count = 0
try:
matches = list(findAll(the empty checker box image))
count = len(matches)
except FindFailed:
pass #nothing to do
print "found:", count
I also have try this code to hover the mouse over the images, but it hover it randomly:
for x in findAll(the empty checker box image):
hover(x)
Thanks Advanced.
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:
This question was reopened
To post a message you must log in.