← Back to team overview

sikuli-driver team mailing list archive

[Bug 1199690] [NEW] Region.exists(img) collects items outside Region

 

Public bug reported:

SikuliIDE v 1.0.0
WinXP SP3 x86
I have some icons(img.png) on the screen. I have to click those, that are located within sertain region.
So I defined Region Reps and use script:
    if Reps.exists("1373032124430.png",2):   
       click("1373032124430.png");wait(3)
It clicks on ALL icons on the screen.
I've sold the problem with that:
    if Reps.exists("1373032124430.png",2):   
       Reps.click("1373032124430.png");wait(3)

But I think, this is a bug.

** Affects: sikuli
     Importance: Undecided
         Status: New

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

Title:
  Region.exists(img) collects items outside Region

Status in Sikuli:
  New

Bug description:
  SikuliIDE v 1.0.0
  WinXP SP3 x86
  I have some icons(img.png) on the screen. I have to click those, that are located within sertain region.
  So I defined Region Reps and use script:
      if Reps.exists("1373032124430.png",2):   
         click("1373032124430.png");wait(3)
  It clicks on ALL icons on the screen.
  I've sold the problem with that:
      if Reps.exists("1373032124430.png",2):   
         Reps.click("1373032124430.png");wait(3)

  But I think, this is a bug.

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


Follow ups

References