← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #204946]: how to loop

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
Only seeing a faq is surely not enough to understand it.
Some playing around with the given examples is needed at least.

I would have expected at least a may be unsuccessful trial.

But since it is nearly weekend, here you are:

for i in range(100):
    click("1344015944371.png")
    sleep(5)
    click("Like.png")
    sleep(5)
    click("U.png")
    click("1344016163786.png")
    sleep(5)
    click("1344016205115.png")
    sleep(5)

mind the indentation ( faq 1800).

hope it works ;-)

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