← 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: Needs information => Answered

RaiMan proposed the following answer:
--- Sorry, then I did not talk clearly:

As long as the captured image on another system with a different monitor resolution is the same pixel per pixel (not rendered differently - not stretched or something like that), it should be found on the system. 
So depending on the resolution, you might see it smaller or larger compared to the screen size, but it should be found if it is the same size in pixel (width x height) and the pixels have the same colors.

So if you capture system or application elements, whose  appearance
depend on some individual settings, that might differ from system to
system, you will have problems with Sikuli.

--- Can we use Pattern class for this purpose?
currently not. 
You would have to setup your own managing concept for that (e.g. image sets that are imported).

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