sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #48479
Re: [Question #673704]: How to get program to capture part of the App.focusedWindow()?
Question #673704 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/673704
Status: Open => Answered
RaiMan proposed the following answer:
--- because can't make sure that the window is always in the same range.
exactly for that you have the App.focusedWindow(), because it gives you the region of the app window, wherever it is.
--- cause a part of area will always change
your shots, that you want to find/compare, should be as small as possible concentrating on what is really of interest (in this case your button).
With 1.1.4 you have the masking feature, that allows to ignore parts of the image when searching.
I guess you should go back and try to understand, how SikuliX really
works and about the Region concept, which is very flexible.
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.