← Back to team overview

sikuli-driver team mailing list archive

[Question #254155]: getLastMatch expected 1 args?!

 

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

I wanted to click something that I first found with an exist. according to how I understood the docs from here:
http://doc.sikuli.org/region.html#Region.getLastMatch

that should work quite simply by calling
click(Region.getLastMatch())

but that throws me this error with Sikuli 1.0.1:
Unexpected error: <type 'exceptions.TypeError'> ; getLastMatch(): expected 1 args; got 0

whats the (undocumented?) argument that sikuli expects?

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