← Back to team overview

sikuli-driver team mailing list archive

[Question #231963]: Image randomly appear

 

New question #231963 on Sikuli:
https://answers.launchpad.net/sikuli/+question/231963

i have the successful script, the problem is sometimes img8 and img9 is appear so will stop my script, img8 sometimes appear in 10 -15 minutes, img9 in 1.5-2 hours, what am i must add for img8 and img9 and where to put?

Here is my script:

For m in range(600):
  Click(wait(img1,10))
  Click(wait(img2,10))
  Click(wait(img3,10))
  While exists(img4,20):
    If exist(img4):
      Click(exists(img5))
      Break
  Click(exists(img6,10))
  Click(exists(img7,10))

  Click(wait(img1,10))
  Click(wait(img2,10))
  Click(wait(img3,10))
  While exists(img4,20):
    If exist(img4):
      Click(exists(img5))
      Break
  Click(exists(img6,10))
  Click(exists(img7,10))

  Click(wait(img1,10))
  Click(wait(img2,10))
  Click(wait(img3,10))
  While exists(img4,20):
    If exist(img4):
      Click(exists(img5))
      Break
  Click(exists(img6,10))
  Click(exists(img7,10))

What action for img8 and img9 i must add, and where to put it?

Sorry for my bad english, thanks for help before

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.