← Back to team overview

sikuli-driver team mailing list archive

[Question #283884]: Clicking on the object several times and reducing CPU usage

 

New question #283884 on Sikuli:
https://answers.launchpad.net/sikuli/+question/283884

Hi,

I have created the java application to increase the productivity and improve live situations in Ableton with mouse clicks and multiple key shortcuts controlling by MIDI controller.

I'm just thinking about these commands:

Env.getMouseLocation(x,y)
click((find(Pattern("XXX.png").similar(0.70))nearby(Location(x,y)))

If Sikuli clicks on the object the first time, maybe it's possible to do it much faster on the second time? I can store the nearby location to variable after the first click.

Will it improve the time? What is the best way to make Sikuli aware about the object location or where to start to look at on the screen? Can Sikuli stop searching with the first matched object on the screen? It will be great to know any suggestions.


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