Question #234419 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/234419
Carlos posted a new comment:
HI, it is the standarlone.jar Java API, the homepage of the project just
changed, but one week ago was the one 'try the new Java API', I changed
the code lot of times, I show you the last code for clicking one button:
#########################
try {
Thread.sleep(2000);
} catch (InterruptedException e) {
e.printStackTrace();
}
s = new DesktopScreenRegion();
canvas = new DesktopCanvas();
mouse = new DesktopMouse();
imageTarget = new ImageTarget(getClass().getResource("/quotation.jpg"));
screenRegion = s.find(imageTarget);
canvas.addBox(screenRegion);
canvas.display(1);
mouse.click(screenRegion.getCenter());
mouse.click(r.getCenter());
#########################
I just think that the program I am trying to 'autoit' is protected
against Robot class() or somehting, If anyone knows how to fix this kind
of problems would be great,
Thanks in advance
--
You received this question notification because you are a member of
Sikuli Drivers, which 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