Question #163103 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/163103
Status: Open = Expired
Launchpad Janitor expired the question:
This question was expired because it remained in the 'Open' state
without activity for the last 15 days.
--
You received this question
Question #163291 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/163291
Status: Open = Expired
Launchpad Janitor expired the question:
This question was expired because it remained in the 'Open' state
without activity for the last 15 days.
--
You received this question
New question #165137 on Sikuli:
https://answers.launchpad.net/sikuli/+question/165137
So I have two samples of buttons that might show up and I need a way to put
them inside a exists(). Something like exists(screenshot1 or screenshot2) but
that is of course not working.
Anyone?
--
You
Question #165137 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/165137
Benjamin Alijagić gave more information on the question:
One more question...
The script I'm trying to build is something like a little farmer bot, so it
click on some wheat, then clicks on reap button and
Question #165137 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/165137
Status: Open = Answered
RaiMan proposed the following answer:
--- first question
which = None
while True:
if exists(button1, 0):
which = button1
break
if exists(button2, 0):
Question #165137 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/165137
RaiMan proposed the following answer:
--- second question
lastClick = getLastMatch() # center of last clicked/found image
current = Region(lastClick.x, lastClick.y, 1, 1) # where we want to look around
6 matches
Mail list logo