sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #15692
Re: [Question #219942]: compare icon in a particular region
Question #219942 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/219942
Status: Open => Answered
RaiMan proposed the following answer:
I understand, that in the region reg (e.g. reg = Region(100, 100, 100,
100) ) on the screen, you want to test the existence of an icon given as
"icon.png".
if reg.exists("icon.png"):
print "icon found"
else:
print "icon not found"
There are many more possibilities to define the Region reg: see docs:
docs.sikuli.org
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.