← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #671266]: creating an image lib

 

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

    Status: Answered => Open

Sander is still having a problem:
Hi RaiMan, thanks for the prompt reply.

Good to know about the goodie, that works perfectly, thanks for that.
I prefer to use the variable name (less typing) and looks nice when looking at the script.

But it is not working yet, this is what I did:

from sikuli import *
setBundlePath(".../Sikulix/someImages.sikuli")

image1 = image1.png
image2 = image2.png

than:

from sikuli import *
from someImages import *

hover(image1)
hover(image2)

--
[error] script [ executableTestsPostNLBagage ] stopped with error in line 2
[error] ImportError ( No module named sikuli )

Hope you could help me with the last bit,  cheers!

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.