sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #44468
[Question #660623]: type('`') odd behaviour II
New question #660623 on Sikuli:
https://answers.launchpad.net/sikuli/+question/660623
Well, I still need help.
I noticed such strange thing:
type('`') is dependent on _current_ layout before the run button is pressed.
I made a test:
for i in range(10):
try:
type('`') # backquote typing
except:
print "error"
wait(1)
I set layout to English and run the script. During 10 seconds I change the layout manually and see typing of backquotes and other symbol corresponding the key '`'.
Then I set layout to Cyrillic and run the script. I see nothing is typed though I change the layout to English and back etc. during that 10 seconds. And after 10 seconds I see 10 "error" printings.
So, how could I make my script layout independent?
P.S. and type('d') for example is initial-layout independent.
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.