type('`') odd behaviour II

Asked by Alex Lunyov

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.

Question information

Language:
English Edit question
Status:
Expired
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

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