← Back to team overview

sikuli-driver team mailing list archive

[Question #252512]: How to use regions properly

 

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

I am quite new to programming, and while i am enjoying sikuli and the intuitive syntax I am wondering which is the proper method for using Regions.
Ive defined a region   "icon = Region( 40, 230, 75, 350)"
then when im searching the region do i use 
icon.exists(.png) ?
I cant use find() because the image I'm searching for wont always be there and i don't want the program to stop if it doesn't find it immediately.
How can i use wait() to wait for multiple possible images to appear within the region?

Not all of these questions have to be answered, any help given is very much appreciated :D

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