← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #191126]: Script runs in slow motion, but fails in simple run

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
In slow motion, you have the pause of the blinking circles (time can be
adjusted).

In normal mode, the next Sikuli feature (e.g. your type()) is instantly
processed after the preceding feature (e.g. a click()).

You should start with a short wait() before and/or after the type(). It
might be, that the preceding click() is not yet interpreted by the GUI
or the next click() or type() comes too fast.

e.g.:
click("somewhere.png")
wait(0.5)
type("some stuff")
wait(0.5)

you have to check your situation.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.