← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #699617]: Sikuli doesn't find image on screen but does in image explorer.

 

Question #699617 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/699617

    Status: Open => Answered

RaiMan proposed the following answer:
Generally it is not recommended, to use the Windows screenshot tool to
get your images.

Use the SikuliX IDE to get your images.
Simply make a script containing images only and store it to a folder.

Having a line starting with
image1 =

and then using the Screenshot button automatically names the image as
image1.png.

Additionally with the IDE Preview feature you can check and rename your
images and create Pattern settings.

.. and last but not least  you can make short tests with just a few
commands, before doing the more complex things with Java.

... and one more thing: since it is Jython, that is used to run scripts
in the SikuliX IDE, you can use plain Java coding, if the things needed
besides Java are on the class path.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.