sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #32810
Re: [Question #267835]: How to wait for a duplicated Image (Img already in screen, wait for a duplicated Img)
Question #267835 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/267835
eduardobedoya posted a new comment:
the y axis is predictable
the x axis is unpredictable
in fact, the region in which Im searching is an horizontal rectangle (all the screen width and 300px height)
Do I first got to find all previous Matches of the Img, count them before
[run another predifined function] and then count them again, and see if another same Img appear right?
but my problem is when there is no image at the beginning (first count), cuz if so, Sikuli AutoWaitTime takes hole three seconds to set the first count = 0. How can I get the findAll result faster (in 1 sec) if there is not image at the beginning?
I guess I would have to set the autowaittime to 1sec before run the first count, and then restore it to 3secs, cuz in all others findImg actions in my script I would like to wait 3 secs.
Isn't any other way to kinda set autowaittime for a single findAll, (like in the 'wait' action or in the 'exists' actions which have their own autowaittime that can be set individually in each action), or any other action that could replace the findAll, that could have its own autowaitime that could be set individually in each action?
Is there is another better approach to do this task, please give me a
hint of how the python code would look like?
THanks Advanced.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.