← Back to team overview

sikuli-driver team mailing list archive

[Question #288724]: Help with Region

 

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

Hi.
I would like sikuli to only look at the region im setting.

i have tried to use the region button in sikuli. It seems like i am pointing out the region. But sikuli still searches all over the screen.

i would like to do something like this.

Region(DefinedHere)
if exists(picture):
    click(WhatIDefineHere)
else:
    DoNothing(ContinueScript)

Region(NewRegionDefinedHere)
if exists(picture):
    click(WhatIDefineHere)
else:
    DoNothing(ContinueScript)

I might think there is a relative simple solution to this. I just dont seem to get it.
Hope you can help.
thanks.

p.s ... I have tried to read about the Region. But i dont really understand it. Its to complicated. im new to this. 



-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.