Different Resolutuin

Asked by sami baig

Because of the different resolutions of the Sikuli interface, I am unable to capture and click images, using Sikuli Version 2.0.2.

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
RaiMan
Solved:
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

2.0.2 is no longer supported.
Use 2.0.5

Images captured with SikuliX can only be found on screens, where the picture is shown with the same pixels in width and height.

If you know the resize factor (e.g. 125% or 150%), then you can try with SikuliX's resize feature.

Revision history for this message
sami baig (gabbarmic) said :
#2

Thank You for your response RaiMan.

Now I have upgraded Sikulix with 2.0.5 but still, the same issue persists. Does it have anything to do with my Vivobook Asus laptop?

And please tell me something about resize factor, thanks.

Revision history for this message
RaiMan (raimund-hocke) said :
#3

about resize: https://sikulix-2014.readthedocs.io/en/latest/pattern.html#Pattern.resize

If you run the IDE on the laptop and snapshot an image on the leaptop's screen, then this should be found.

If you use images, that are captured on other systems or secondary monitors or not with the SikuliX IDE you might have problems, that can only be fixed by recapturing the images in your environment.

might help: https://sikulix-2014.readthedocs.io/en/latest/region.html#exception-findfailed
the section about PROMPT

Revision history for this message
Best RaiMan (raimund-hocke) said :
#4

BTW: with 2.0.5 it might be a good idea to use Java 11

Revision history for this message
sami baig (gabbarmic) said :
#5

Thanks RaiMan, that solved my question.