← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #169697]: Capture screenshot without IDE

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
You can always use the Sikuli IDE to capture and store your images.

A .sikuli, containing all your images can be imported, so all images are
available in your script when using the Jython layer. From Java it is
just filenames. You should have a naming convention for your images.

Since the capture in the end is a simple 5 liner (or less ;-) based on
the Java Robot and image-io, you might integrate this function in a Java
based app easily. Or you might just use Sikuli's capture function that
in the first run returns an image in memory.

You have to look into the sources, because this it not a publicly
documented API.

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