← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #265063]: Manipulate the counter in for loop

 

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

RaiMan proposed the following answer:
LOL - correction:

repeat=7
intermediate = 4
for i in range(repeat): # 0 as start is default
    DoSomeStuff()
    if i == intermediate and not exists(IMAGE):
        break

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