← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #191167]: [research] [Java] Mouse/keyboard choppiness when using concurrent threads

 

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

Bogdan T. posted a new comment:
@RaiMan: the robot class is private member in my class, where also i use
private methods to do different stuff using sikuli. usually in one
private method i make 1-2 actions, like (var names only for example):

Pattern pattern = blablabla;
Location location = region.wait(pattern);
robot.mouseMoveClick(location.x, location.y); //mouseMoveClick is in custom class that extends Robot, basically moves then clicks

//Robot is set to autoWaitForIdle = true and autoDelay = 5ms

Basically sikuli and Robot are running in the same Thread in my case. 
Hope this helps.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.