← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #262456]: Import multiple other scripts to Sikuli

 

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

RaiMan proposed the following answer:
yes is possible, but all .sikuli, that are to be imported in one
workflow,  must have different names, despite the fact, that they are in
different folders (the folder is not part of the module name).

Hope you know, what you are doing there. Dos not look like an
implementation of the DRY design pattern, more a copy&paste of the same
code snippet to different places with slight modifications (I guess file
and folder names).

One usually would implement one generic function, that gets parameters
that tell it what to do.

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