sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #13842
Re: [Question #211980]: object recognition when running scripts in main
Question #211980 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/211980
Status: Open => Answered
RaiMan proposed the following answer:
in most cases this are timing problems, that are not recognized when
running the single script.
So depending on what kind of search you are using at this place, try
something like that:
e.g. now:
click(some_image)
change to:
click(wait(some_image, 10))
In the first case, Sikuli only waits the standard 3 seconds for
some_image to appear - which might be too short.
--- Is there a preferred method of running multiple scripts in a sequence?
Not really.
The easiest way: make a batch file, that runs every script from command line using
java -jar path-to-sikuli-script.jar path-to-your-script.sikuli
the path-to-.... have to be adjusted to your real situation.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.