sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #13429
Re: [Question #209152]: To find a image which is left of a image
Question #209152 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/209152
Status: Open => Answered
RaiMan proposed the following answer:
screenObject is not needed, since a simple find() automatically operates
on SCREEN, which is internally set to Screen(0) as a convenience on the
Python level of Sikuli.
so this is sufficient:
a=find(imga)
if a: click(a.left(50).find(imgb))
else: print "imga not found"; exit()
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.