sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #17279
Re: [Question #225815]: How to exit a script inside a group of batch scripts without stop running the other scripts
Question #225815 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/225815
Status: Needs information => Open
Roy Chang gave more information on the question:
Here is an example of the main.sikuli:
...
scripts = ["step1","step2","step3"]
for script in scripts:
scriptPath = os.path.join(Base_dir, script+".sikuli")
if not scriptPath in sys.path:
sys.path.append(scriptPath)
execfile(os.path.join(scriptPath, script+".py"))
...
In each step script, there uses setBundlePath(scritpPath) to make sure
it can find the screenshots.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.