← Back to team overview

sikuli-driver team mailing list archive

[Question #151845]: How to axcess last find

 

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

Hi, i´m trying to axcess the last found object and make a region from that.

what object contains the last match which i can use?

code:

if find(Pattern(TargetDialog).similar(0.90)):
        print "found"
	m = Match
	x = m.getX()-20
	y = m.getY()-10
	w = 1000
	h = 220
	FKURegion = Region(x,y,w,h)

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.