← Back to team overview

sikuli-driver team mailing list archive

[Question #250862]: Eclipse and Sikuli scripts

 

New question #250862 on Sikuli:
https://answers.launchpad.net/sikuli/+question/250862

Hi all,

I'm using the Sikuli-1.0.1 release on Windows7.
I usually run Sikuli in script mode (runIDE.cmd -r myscript.sikuli --args ...) passing through some args.
Actually I have a main sikuli file (myscript.sikuli) with other modules (lib.sikuli, ...) each one starting with : 
from sikuli import *

Everything works fine !
Now I'd like to use Eclipse for debugging....
 
So, I configured Eclipse (as referred here http://doc.sikuli.org/faq/040-other-ide.html#extractlibsikuli) extracting the sikuli directory from the sikuli-ide.jar and pointing on it.
In my main sikuli file (myscript.sikuli) I added : from sikuli import *
It seems to work fine with a simple run ...

Now my questions is : 
Can we run sikuli scripts (for example myscript.sikuli) in script mode (as before) by passing some args ?
Should I still use runIDE.cmd for that ?

Thanks a lot,
Rod

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