sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #37143
Re: [Question #287456]: fast clicking
Question #287456 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/287456
Status: Open => Answered
Karl proposed the following answer:
This seems to perform faster than sikuli.
import java.awt.Robot
from java.awt.event import InputEvent
def myclick(x, y):
bot = java.awt.Robot();
bot.mouseMove(x, y);
bot.mousePress(InputEvent.BUTTON1_MASK);
bot.mouseRelease(InputEvent.BUTTON1_MASK);
for i in range(1,100):
myclick(100,100)
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.