sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #17170
[Question #225201]: How to type numerical characters in french local system
New question #225201 on Sikuli:
https://answers.launchpad.net/sikuli/+question/225201
hello,
Currently on windows 7 localized in French local system, when typing numerical characters, then character sent are not the right one.
I am want to write string123 in a web field on a web navigator or on notepad
For example : script sikuli
Num = 123
chaine = str(Num).zfill(3)
wait("img.png")
wait(1)
type("string" + chaine)
Then following string is send to the field:
string&é"
but in the sikuli console right characters are displayed:
[log] TYPE "string123"
The issue is due to the difference localization between French and US computer keyboard
& is the lower case of 1
é is the lower case of 2
" is the lower case of 3
string123
[log] TYPE "string123"
for reference see following french key board map :
http://www.google.fr/imgres?imgurl=http://www.lehman.edu/faculty/hoffmann/itc/techteach/keyboard/keybfr.gif&imgrefurl=http://www.lehman.edu/faculty/hoffmann/itc/techteach/keyboard/keyboard.htm&h=241&w=500&sz=7&tbnid=GeV6p31hzB7TPM:&tbnh=61&tbnw=126&prev=/search%3Fq%3Dimage%2Bfrench%2Bkeyboard%26tbm%3Disch%26tbo%3Du&zoom=1&q=image+french+keyboard&usg=__bPEUFGsTobftP3pmvzsKB6KBNbQ=&docid=UuetOojxLj1YEM&hl=fr&sa=X&ei=7rRRUZq8FdOy7Aak2ICYCw&ved=0CFoQ9QEwBg&dur=10089
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.