sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #05275
Re: [Question #171127]: Import other Sikuli scripts on MAC
Question #171127 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/171127
Status: Open => Needs information
RaiMan requested more information:
As far as I remember ;-)
in 10.2: There is no support for importing Sikuli scripts as such. You
have to import the contained .py file and take care for the images
yourself.
What online docs have you read?
An import solution in 10.2 is rather simple, if the imported modules do
not contain any images. Just put all .sikuli in sys.path.
If the imported scripts contain images, this gets rather complicated,
since you either have to hard code the image filenames or use
setBundlePath() to switch the path where Sikuli looks for the images.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.