← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #682332]: [error] RobotDesktop: checkMousePosition after upgrade to build 325

 

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

RaiMan proposed the following answer:
I tested with the latest 1.1.4 build on my MacBook Pro Retina, which
also has a display 13.3-inch (2560 x 1600).

My macOS is 10.14.5 and I tested both with Java 8 and Java 12.

Internally the screen size is reported and used as 1280 x 800, which is
correct since a Retina display only boosts an internal  pixel up to 4
pixels on the monitor.

With the following test I had no problems:
for i in range(10):
  click(Pattern("1564644657172.png").targetOffset(-59,-8))
  print getLastMatch()
  print Mouse.at()
  click(getCenter())

the image is something captured with the IDE in the bottom-right corner
of the screen.

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