How to calculate region ?

Asked by Nikhilesh

How to calculate region in pixels?
e.g. r.below(100).highlight(2)

How to calculate 100 in the above example?

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

I do not really understand what you mean.

If you write down 100, then it is not calculated, it might be guessed or measured.

if you mean measure: see faq 1686

In some cases Sikuli IDE's Preview might be helpful or a helper script, that reports mouse location via Env.getMouseLocation().

Revision history for this message
Launchpad Janitor (janitor) said :
#2

This question was expired because it remained in the 'Needs information' state without activity for the last 15 days.

Revision history for this message
RaiMan (raimund-hocke) said :
#3

at least some hint