← Back to team overview

sikuli-driver team mailing list archive

[Question #438963]: How to loop a master script (one that runs other scripts)

 

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

So I have 2 scripts (it was one before, but I had to break it up because it was too long).  Call them script1.sikuli and script2.sikuli

And I have a master script that runs them. The script1.sikuli and script2.sikuli are inside the master.sikuli folder.

So in master.sikuli I have written down:

for n in range (3):
    import script1
    import script2

When I run though, it goes through both scripts perfectly, but it stops after only one run.

Any way to make this happen?



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