← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #144310]: type(somekey, KEY_META) inconsistent

 

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

RaiMan posted a new comment:
but if this works, then this should do too:

b = App("Firefox3")
b.focus()
while not b.window():
  wait(1)
type("l", KEY_META); wait(0.5)
paste("www.sikuli.org"); type(Key.ENTER)

why:
- Region.highlight() has no "connection" to the underlying region it is only a red frame in an "passive" overlay window.
- the second b.focus() should not be necessary, since b has already the focus

The only thing I could imagine would be to put another wait(1) before
the type.

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