New question #668789 on Sikuli:
https://answers.launchpad.net/sikuli/+question/668789

Hi there.....I go this script:

#-----------------------------------------------------------#

Search = Region(100,100,1000,1000)

img = "img.png"

get_x = 0
get_y = 0

Region.Search.findAll(img)

result = Search.getLastMatches()

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....

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to