sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #20120
Re: [Question #234363]: How to call for a script from withing another script
Question #234363 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/234363
Status: Open => Answered
RaiMan proposed the following answer:
import os
script = r"C:\Sikuli\Tests\testFlows\Test.sikuli"
save = getBundlePath()
setBundlePath(script)
execfile(os.path.join(script, "Test.py")
setBundlePath(save)
this works like just copying the code from Test.sikuli into current
script at this place
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.