← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #211582]: Problem launching exported Sikuli program in Win7-64 environment

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
on Win 64 Bit systems the Sikuli-IDE.exe cannot be used, since it calls
the platform java (which is 64-Bit in this case - no matter, what
environment is telling)

I suppose, to run the IDE, you use the Sikuli-IDE.bat or Sikuli-
IDE-w.bat.

So the first question:
why do you need a .skl? (it is only a zipped .sikuli folder anyway)

The answer to this question is vital for the solution.

If it would be ok, to use the original script .sikuli, the world would
become much easier:

--- contents of a basic batch file runsikuli.cmd
setlocal
SIKULI_HOME=%PROGRAMFILES(X86)%\Sikuli X\
PATH=%PATH%;%SIKULI_HOME%libs;%PROGRAMFILES(X86)%\Java\jre6\bin
%PROGRAMFILES(X86)%\Java\jre6\bin\java.exe -jar %SIKULI_HOME%\sikuli-script.jar %1\%2.sikuli
endlocal

call it like this
runsikuli    "folder containing the scripts - no trailing \"    plain-script-name

the path entry is only needed, if the global system/user path entry does not contain these
 entries already (as I guess it does, since you are running the IDE).

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