← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #673288]: Detecting clicks outside of an element in the interface

 

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

Rita Maia posted a new comment:
Let me try to give an example:

I have a button. Then if i click on it i can get the X and Y coordinates
right? with functions getX() and getY().

So then if i click outside the button i can get as well the X and Y
coordinates , right? And then i define a certain radious. and if the X,Y
position is 10px distance from X,Y of the button then i can do an
action.

Is my logic correct?

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