← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #192410]: Sikuli script not works when change from laptop monitor to dual monitors

 

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

    Status: Open => Needs information

RaiMan requested more information:
The resolution ratio on the laptop is 0.625.

On the monitors, the resolution should be 1920 x 1200 for the same ratio.
But it is 0,5625 (the width is slightly clinched).

So if your application reacts with different rendering behavior while
showing the same content with respect to the screen, the relevant images
have a width, that is reduced by 10%.

To let Sikuli find the same images on other systems with different
monitor setups, the images must be the same pixel by pixel.

You might check this e.g. with the IDE's preview feature or any other
screen capture tool, that allows to measure and have a look on the pixel
level.

If this is the cause, you have to either change your monitor setup or
use a different set of images for each differing situation.

If this is not the case: any chance to put screenshots somewhere in the
net (e.g. dropbox)?

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