← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #171725]: Multiple if else indent problem

 

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

aakash gave more information on the question:
for m in range(400):
    if exists ( ):
        click( )
        sleep(2)
    else:
        click( )
        sleep(12)
        click( )
        
    sleep(42)

Need to add again if else 
cant remove sleep (42)
it is to specify the time to wait
I want to again add if else
it is giving error above 
please provide working code 
Thanks

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