sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #42201
Re: [Question #620966]: Script doesn't behave well when imported
Question #620966 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/620966
Status: Open => Answered
masuo proposed the following answer:
In case you select the way to import other Sikuli scripts, your imported script must contain "from sikuli import *".
http://sikulix-2014.readthedocs.io/en/latest/scripting.html#importing-other-sikuli-scripts-reuse-code-and-images
In case you select the way to use runScript feature, see the following page.
http://sikulix-2014.readthedocs.io/en/latest/scripting.html#running-scripts-and-snippets-from-within-other-scripts-and-run-scripts-one-after-the-other
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.