← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #253723]: How to Create a Repeatable Loop

 

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

    Status: Answered => Solved

max confirmed that the question is solved:
Thank you this works

while True: # loop forever
    if exists(image, 0):
        click(some_image)
    wait(5)

I will just open task manager and find the java process to manually
abort when I want it to stop.

Thanks a bunch

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