Performing sikuli action only inside a particular region

Asked by Daniel Euchar

Hi all,
I am new to sikuli, and fallin in love with it. the problem i am facing while using sikuli through java is if there are 2 elements of same kind it fails to click on the correct element. so i wanted to know if it is possible to make sikuli just work inside a particular region. and can some one please explain how can it be done ??

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

Despite the fact, that you are working with the Java API instead of the Python scripting layer, it helps a lot, to look through the docs (http://sikuli.org/docx/) in this case especially the chapter http://sikuli.org/docx/region.html

You will find many interesting information and it should be rather simple to find out, how the Java API has to be used in special cases (most features are identical in usage). The plain Java API: http://sikuli.org/doc/java-x/

There are many ways, to restrict the search region, so come back if you still have a more concrete question, after having tried some of the options.

Can you help with this problem?

Provide an answer of your own, or ask Daniel Euchar for more information if necessary.

To post a message you must log in.