type('`') odd behaviour II

Asked by Alex Lunyov on 2017-11-11

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):
        type('`') # backquote typing
        print "error"

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.

Question information

English Edit question
Sikuli Edit question
No assignee Edit question
Last query:
Last reply:
Launchpad Janitor (janitor) said : #1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.