← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #250535]: Calling a script within another?

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
best is to put the snippets, that should be reused into functions (def)
and call these as needed.

a bunch of def's can be packed into a module script, that can be
imported into other scripts, to make the def's available.

see: http://sikulix-2014.readthedocs.org/en/latest/globals.html
#importing-other-sikuli-scripts-reuse-code-and-images

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