Assign every Match from findAll to a separate variable
Hi there.....I go this script:
#------
Search = Region(
img = "img.png"
get_x = 0
get_y = 0
Region.
result = Search.
for matches in result:
get_x = matches.getX()
get_y = matches.getY()
print "Found for X: ", get_x
print "Found for Y: ", get_y
#------
**The log is this which is ok, it founds the images I want!
Found for x: 566
Found for y: 294
Found for x: 617
Found for y: 363
Found for x: 484
Found for y: 294
Found for x: 433
Found for y: 363
BUT: I want for every match to store x-y values to a separate variable, so I can manipulate my model...
How I can achieve that....??????????
Thanks....
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- spyros-liakos
- Solved:
- Last query:
- Last reply: