← Back to team overview

sikuli-driver team mailing list archive

[Question #678932]: Repeat

 

New question #678932 on Sikuli:
https://answers.launchpad.net/sikuli/+question/678932

Hello,

I know it's totally stupid but I can not do repeat.

Here is my code.

I would like it to be repeated 200 times.


click(1006,748)
click("1551707620478.png")
type(Key.ENTER)
type('c', KeyModifier.CTRL)
click("1551704040161.png")
type('v', KeyModifier.CTRL)
sleep (2)
if(exists("1551704943136.png")):
    click(613,587)
    type('a', KeyModifier.CTRL)
    type(Key.DELETE)
    click("1551707221495.png")
else:
   click("1551703683676.png") 
   find("1551706524071.png")
   click("1551706538103.png")

I add 

for i in range(200):

on the first line but i have a error.

Thanks for your help
   



-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.