← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #660366]: How to continously run a piece of code while simultaneously checking for a condition?

 

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

RaiMan proposed the following answer:
@Manfred
Good idea, but I guess this will make it for him even more complex.

@Martin
an image check always costs some time.
So the only chance is to minimise this "pause" in the script.

1. step: use
exists(image, 0)

which does only one search. depending on region and image size this may
reduce the search time to some 10 millisecs.

2. step: make the search region as small as possible

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