← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #453545]: Let click in a region randomly

 

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

Ze-ping posted a new comment:
Thank you ,

Case 2 is much clear than my code.

But in case 1 ,I need to click in image region so getCenet have change
to get TopLeft ,like following:

match.getTopLeft().offset((ran.nextInt(match.w)),
(ran.nextInt(match.h))).click();

Anyway still thank you , :D

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