Faster reaction

Asked by Deividas

Hey I would like to know how to make a script react faster like now it ignores image sometimes because it disappears pretty fast

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
Deividas
Solved:
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

make search region as small as possible around the place where you expect the image to appear.

instead of
click(image)

use
someRegion.click(image)

see:
http://sikulix-2014.readthedocs.io/en/latest/basicinfo.html#sikulix-how-does-it-find-images-on-the-screen

Revision history for this message
Deividas (deividziune) said :
#2

Hey thanks again.