How to access last match --- assign match to variable or use Region.getLastMatch()
Asked by
Linus Holmeros
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(
print "found"
m = Match
x = m.getX()-20
y = m.getY()-10
w = 1000
h = 220
FKURegion = Region(x,y,w,h)
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Linus Holmeros for more information if necessary.
To post a message you must log in.