← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #640445]: Scan for either of the 3 images during runtime

 

Question #640445 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/640445

Hossain Abeer gave more information on the question:
I am now running SikuliX IDE 1.1.1.

and i tried the following script

click(G)

while True:
      if exists ((A or B or C), 3600):  #A B C are the main images to be detected
            click(X)
            click(Y)
       click(Z)
       click(Y)
       click(G)
     sleep(3)


NOT working


also used

click(G)

while True:
      if exists(A, 3600) or exists(B, 3600) or exists(C, 3600):
            click(X)
            click(Y)
       click(Z)
       click(Y)
       click(G)
     sleep(3)

In both cases, only image A is detected, and acted upon. But B and C are
completely ignored

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.