← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #192842]: how to tell sikuli to click on a particular region

 

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

    Status: Open => Needs information

RaiMan requested more information:
-- how to get x and y axis of the screen 
either it is the wrong question or I do not understand it.

In Sikuli, the screen does not have any axis. It is a rectangular area
containing pixels, whose position on the screen is denoted as (x, y),
where x is the horizontal pixel distance to the upper left corner (0,0)
and y is the vertical distance.

A single pixel is a Location object like 
center = Location(960, 600)
which is the center pixel on a screen 1920x1200.

-- please provide me code
not possible, since it is not clear what you want.
If possible, it might not help, as long as you do not understand, how Sikuli works.

So again: pls. READ the docs.

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