← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #169558]: How can I make this faster?

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
-- restricting the search region is most appropriate

reg = some-region-that-should-contain-picture
while True:
 if not reg.exists(picture, 0):
  wait(1)
 hover(reg.getLastMatch())

You might read thru faq 1607

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