← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #162469]: Portable Sikuli Scripts?

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
--- need to have 1.) path to Libs folder and 2.) path-to-java\jre6\bin in system path (%PATH%)
1.) is needed for the .ddl's to find each other
2.) Java installer does not populate system path. the java command is in the system32 folder, that is in path as standard. the rest is managed by java itself internally and via environment variables at runtime. 
Both entries are currently needed (Sikuli IDE installer does it for you). So you either put this in system path via the registry or the settings or you put it in your cmd/bat, that allows a user to run your scripts.

-- Can It also read the script from the py file?
* for wget a starting point: http://gnuwin32.sourceforge.net/packages/wget.htm
* yes it is the script file .py and the referenced image files (if you want them locally) (the .html is a gimmic, that is created when saving a script in the IDE, to show the script with it's image thumbnails in a browser - never needed it ;-)

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