← Back to team overview

sikuli-driver team mailing list archive

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

 

we already have the with support:

with region:
    if find(image):

We want to avoid too much additional code in the Python layer.

But send me the patch, I will have a look at it.

** Changed in: sikuli
     Assignee: (unassigned) => RaiMan (raimund-hocke)

** Changed in: sikuli
       Status: New => In Progress

-- 
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