sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #42735
Re: [Question #640445]: Scan for either of the 3 images during runtime
Question #640445 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/640445
Status: Solved => Open
Hossain Abeer is still having a problem:
Hi,
The script #25 solved my problem, and performs accordingly. But a new
objective has arisen from this.
Say, the program has detected B, of the 3 images (A, B and C), now I
want the program to ignore this B for next 10 sec, while still searching
for A and C.
I tried this:
while True:
while True:
isA = exists(A, 0)
isB = exists(B, 0)
isC = exists(C, 0)
if isA or isB or isC: break
wait(1)
if isA:
click(X)
click(Y)
click(Z)
waitVanish(isA)
didn't work. the program quits.
Thanks
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.