← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #213012]: Using iterators with methods?

 

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

    Status: Open => Answered

Brian Redmond proposed the following answer:
http://docs.python.org/2/tutorial/controlflow.html

def create_client(id):
    type("n", KeyModifier.ALT)
    type("i")
    type("n", KeyModifier.CTRL)
    wait("IZI1IClassif.png")
    paste("Sikuli Test Client" + id)
    ...........

for x in range(1, 10):
    create_client(id)

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