← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #661512]: Location coordinates seem to be the wrong way around

 

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

Description changed to:
Hi Everyone,

For some reason Location(0,0).hover() gives me the top left corner of my screen.
I would expect it to be the bottom left.

But testing further:
COMMAND |                                         RESULT |                          EXPECTED RESULT
Location(0,0).hover()                  --> top left                       --> bottom left
Location(1900,0).hover()           --> top right                    --> bottom right
Location(1900,1080).hover()    --> bottom right            --> top right
Location(0,1080).hover()           --> bottom left               --> top left

Why are these switched around?
I'm on latest Java (both 32 and 64 bit intalled) and Sikuli 1.1.1 release version.

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