sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #48467
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:
Uuups, why so complicated?
some_region = App.focusedWindow()
setBundlePath(dir)
if some_region.has(Pattern("A").similar(0.85)):
print "Image is matching"
else:
print "Image is not matching"
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.