← Back to team overview

sikuli-driver team mailing list archive

[Bug 795498] Re: Make Region.click() arguments optional

 

in X-1.0

click()

will click the last match of the region if any, otherwise it will click
the center  (or targetOffset if region is a Match)

** Changed in: sikuli
       Status: New => Won't Fix

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

** Changed in: sikuli
    Milestone: None => x1.0

** Changed in: sikuli
       Status: Won't Fix => Fix Committed

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

Title:
  Make Region.click() arguments optional

Status in Sikuli:
  Fix Committed

Bug description:
  Region.click() should click at its center. It will make code more
  clean (and perhaps faster), e.g. from:

  for f in findAll(findobjs):
    area = Region(f.nearby(100))
    f.click(area)

  to:

  for f in findAll(findobjs):
    area = Region(f.nearby(100))
    area.click()

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


References