← Back to team overview

sikuli-driver team mailing list archive

[Question #662498]: Run same script to a greater extent

 

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

I would like to run following script more than 10 times on single instruction

myScript:

click("1514867348422.png") 
if exists("1514867386964.png"):    

while not exists("1514871869228.png"):    
wait(10)
click("1514867400749.png")
type(Key.TAB, KeyModifier.SHIFT + KeyModifier.ALT)
else: 
popup("Script done.")

       Should I paste this script manually more than one or is there any coding to run this script multiple times ?

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