← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #252512]: How to use regions properly

 

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

RaiMan posted a new comment:
Sorry for the mistake:
getLastMatch() is region specific.

So correctly:
   if day.exists("endday.png",0):
        click(day.getLastMatch())
        wait(0.5)

with version 1.0.1+ this will do the same (a convenience)
   if day.exists("endday.png",0):
        day.click()
        wait(0.5)

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