← Back to team overview

sikuli-driver team mailing list archive

[Bug 1087041] Re: Support "if image in region:" construct

 

looks easy.

But we have to use exists(), because find() would break with a
FindFailed if not found, which makes the if useless.

I have it on my list now.

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1087041

Title:
  Support "if image in region:" construct

Status in Sikuli:
  In Progress

Bug description:
  if image in region:
    # do something
    # is more intuitive than
    if region.find(image):
      pass

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1087041/+subscriptions


References