← Back to team overview

sikuli-driver team mailing list archive

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

 

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

Description changed to:
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. (I tried it when
master, script1, script 2 were all in a single folder, same thing
happens).

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.