← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #258625]: best way to run script inside another script

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
Uuups, my fault.
... with import the scripts have to be given without the ending .sikuli

# runAll
import script1
import script2
popup('all done OK')
# end

be aware:
in IDE this only works one time, since in IDE imports are not repeated on rerun of a script.
you have to run runAll.sikuli from command line, which can be done in parallel with the usage of the IDE.
Be sure to save any changes in IDE, before running from command line

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