← 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:
What Calle mentioned is principally right: If you assure, that Sikuli-
IDE and it's prereqs are running on the target machine, you are on the
safe side.

But if you look from the side, what is at least needed, to run a script
(in the form as .sikuli, which is an unzipped version of a .skl), then
it is sikuli-script.jar and the libs folder of the IDE's installation
directory. Then you can run your script using a java command (see:
http://sikuli.org/docx/faq/010-command-line.html#running-sikuli-script-
jar-from-command-line). But this is still some 10 or more MB's, that has
to be brought somehow to the target machine.

If you know how to program in Java, it is possible rather easy, to build
a self contained mySikuliScript.jar, that contains everything needed to
run scripts on another machine just with a java command, installs itself
and runs the scripts as needed. Have a look at the extensions concept to
get a feeling what might be possible in the future.

And do not forget, that Sikuli scripts are able to load their images
from the web, which reduces a script to it's .py file, which might be
easier to handle when distributing a script, than a complete .sikuli
folder.

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