← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #675373]: [HowTo] make a simple loop with "exists image" and "click image"? (Sikuli)

 

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

    Status: Open => Needs information

RaiMan requested more information:
--- check if the img1 (for 3 seconds) is still there
directly after the doubleclick or after img111 has disappeared?

BTW: since it is my personal decision, to help or not, just concentrate
on writing down your request as precise as possible.

... this would have been enough:
So far, I think It's perfectly working.

Let's take step 1 as an example:

# this is step1
      if exists("img1", 0) and exists("img11", 0): # check for img11
        doubleClick("img111")
        while exists("img11", 0):
          wait(0.3) # wait for img11 to vanish

Would be possible to add something like:

after doubleclick, check if the img1 (for 3 seconds) is still there, If
it's true, then doubleclick img2.

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