New question #678044 on Sikuli:
https://answers.launchpad.net/sikuli/+question/678044
Have captured an image that is repeated in a screen for n number of times(arrow
mark)
Could you please provide me a piece of code in java, so that on each run, the
image at any location is clicked.
Now am using below piece of code, with which only the last match of the image
is clicked.
public void RndClik(String Path)
{
Match match = reg.exists(Path);
if (null != match) {
match.getCenter().offset(ran.nextInt(match.w),
ran.nextInt(match.h)).click();}
}
Sikuli-version-1.1.3
Java-J2Se1.5
MAC OS
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.
_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help : https://help.launchpad.net/ListHelp