← 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: Answered => Open

George Griffin is still having a problem:
Hello, and thanks.

The main reason for the conversion to the skl format is it was easier to
pass around, and as a relative newbie, ignorance in how else to execute
the test away from the IDE.  One person develops the Sikuli test, and
that export is plugged into an automated testing system elsewhere.  We
can pass the folder around so we could try your alternative.

I'll try to adapt your suggestion into our process.  Thanks again

-----Original Message-----
From: bounces@xxxxxxxxxxxxx [mailto:bounces@xxxxxxxxxxxxx] On Behalf Of RaiMan
Sent: Thursday, October 18, 2012 1:56 PM
To: Griffin, George [NETPWR/AVOCENT/FL]
Subject: Re: [Question #211582]: Problem launching exported Sikuli program in Win7-64 environment

Your 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).

--
If this answers your question, please go to the following page to let us know that it is solved:
https://answers.launchpad.net/sikuli/+question/211582/+confirm?answer_id=0

If you still need help, you can reply to this email or go to the following page to enter your feedback:
https://answers.launchpad.net/sikuli/+question/211582

You received this question notification because you asked the question.

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