sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #17382
Re: [Question #226209]: Go to the next script
Question #226209 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/226209
Status: Open => Answered
RaiMan proposed the following answer:
# run some scripts in sequence
for script in ("LoginSoul", "Lancaritem"):
scriptsik = script + ".sikuli"
scriptpy = os.path.join(scriptsik, script + ".py")
setBundlePath(os.path.join(dir, scriptsik)) # folder for images
try:
execfile(os.path.join(dir, scriptpy)) # runs the code
print script, "ran with success"
catch Exception, e:
print script, "ran with some error:", e.message
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.