sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #01108
Re: [Question #144310]: type(somekey, KEY_META) inconsistent
Question #144310 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/144310
Status: Open => Answered
RaiMan proposed the following answer:
even noise and ?operator errors? documented here (yours is documented
exemplarily :-) might help others.
You can optimize your script with respect to the wait()'s:
This will continue in the moment, the window is there.
browser = App("firefox3")
if not browser.window():
browser.focus() # opens FF if not open
wait(1)
type("l", KEY_META); wait(0.5)
paste("www.sikuli.org"); type(Key.ENTER)
I consequently use paste() to type text() and type() only for special
keys.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.