← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #175516]: Finding Mouse Location interactively

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
did you already scan the docs on: http://sikuli.org/docx/ ?

current mouse location: Env.getMouseLocation()

But why don't you use selectRegion() for that?

To define regions to make searches faster I usually calculate them
starting with already known matches and regions:

win = some_reg # e.g. the app window
top = win.above(1).below(50)

e.g. defines the top area of the app window.

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