sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #15366
Re: [Question #218078]: type() foreign symbol example
Question #218078 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/218078
Status: Answered => Open
Muro is still having a problem:
@RaiMan
Thank you for this!
german = {u"ü":'[', u"ö":';'}
def type_ger(line):
for letter in line:
type(german.get(letter, letter)) # if the letter is not in the dict, the letter itself is typed
# so the dict only needs to contain letters that has to be translated.
type_ger(u"Flöte")
but it return ...
Fl;te
tested on Windows 7 x86 Ultimate with Notepad
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.