← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #152660]: region or not?

 

Question #152660 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/152660

    Status: Open => Answered

RaiMan proposed the following answer:
getLastMatch() uses the default Region Screen(0), but in your case you
restricted the exists() to the Region FKURegion.

So you have to say:
click(FKURegion.getLastMatch())

since the match is stored with the Region that was used to search in.

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