← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #143086]: Is it possible to pass sikuli IDE a .py file insted of a .sikuli dir to run?

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
No, that is not a feature.

you may try to run the jar internal jython instead, which accepts a .py:

java -cp "C:\Program Files (x86)\Sikuli\sikuli-script.jar"
org.python.utils.jython test.sikuli

you need 
from sikuli.sikuli import *

at the beginning of each script.

Check to use as additional Java parms:
-Xms64M -Xmx512M -Dfile.encoding=UTF-8

since these are the actual standards used by Sikuli IDE.

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