Faster reaction

Asked by Deividas on 2018-01-19

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:
Sikuli Edit question
Assignee:
No assignee Edit question
Solved by:
Deividas
Solved:
2018-01-20
Last query:
2018-01-20
Last reply:
2018-01-20
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

Deividas (deividziune) said : #2

Hey thanks again.