sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #34689
Re: [Question #271406]: How to click on the intersecting x and y graph coordinates?
Question #271406 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/271406
Status: Open => Answered
carl proposed the following answer:
I do not use these procedures, but I advise you to try another way!
keep in mind that changing the resolution is equal to change images.
change resolution also adds pixels to the screen -> turns everything more displaced
1) The easiest way is to study a format specific to each solution
2) alternatively, you can work on cordinates in relation to the screen as:
[pseudocode]
X = Screen.getX () * 20/100;
Y = Screen.getY () * 50/100;
in this case I'm choosing a point in the middle screen as Y and 20% from left as X
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.