← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #185595]: sikuli closes when i click take screen shot

 

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

RaiMan requested more information:
Try the following in a command line window:

java -jar path-to-sikuli-script.jar -i

this should open an interactive Jython session ready to process Sikuli
(and Jython) statements.

you should get a prompt like 
>>>

<enter> means: hit enter

try out:
popup("hello")<enter>

should give a popup - click ok.

try out:
capture()<enter>

should come up with the gray overlay saying "Select a Region on the Screen".
Just do it by dragging a region with left mouse button pressed. finally release button.

You should get a .png filename in temp storage.

come back afterwards and tell what happens.

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