← Back to team overview

sikuli-driver team mailing list archive

[Question #232177]: Region.exists(img) collects items outside Region

 

New question #232177 on Sikuli:
https://answers.launchpad.net/sikuli/+question/232177

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.

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