← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #232740]: Bug while not exist

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
this simply means, that the script has ended and the Sikuli IDE window
comes back.

you are doing this:

while not exists(some_image): # loops as long as some_image is not visible
    click(another_image)
    sleep(4)
# here it goes (exits and shows IDE again), when some_image gets visible

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