← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #664839]: Issue with wait() and type()

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
my test on Windows 10 / Java 8 (should not make a difference)
using a newly setup SikuliX 1.1.1

switchApp("Notepad")
# wait(2)
wtime = 3

for i in range(5):
  wait(wtime)
  type(Key.DOWN)
  wait(wtime)
  type("some text")
  wait(wtime)
  type(Key.ENTER)

wait(2)

worked with different wait times as it should.

BTW: starting the sequence with a DOWN does not really make sense
(nothing to do with your problem though).

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