if you change the language ( keyboard layout ) it is not clear what was entered..
write in russian "приветмир" change layout write "helloworld" but in the log "руддщцщкдв"
~~~~
hm = pyHook.HookManager()
hm.KeyDown = OnKeyboardEvent
hm.HookKeyboard()
any body? help?
maybe i now how do what.. i think
rus eng ascii it just offset, example ascii(pressedkey) +100 rus, ascii(pressedkey) +200 eng,
and it remains to be seen what the layout was..
tell me how? do right =)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
if you change the language ( keyboard layout ) it is not clear what was entered..
write in russian "приветмир" change layout write "helloworld" but in the log "руддщцщкдв"
~~~~
hm = pyHook.HookManager()
hm.KeyDown = OnKeyboardEvent
hm.HookKeyboard()
def OnKeyBoardEvent(event):
LOG_TEXT += str(chr(event.Ascii))
LOG_FILE.write(LOG_TEXT)
~~~~
any body? help?
maybe i now how do what.. i think
rus eng ascii it just offset, example ascii(pressedkey) +100 rus, ascii(pressedkey) +200 eng,
and it remains to be seen what the layout was..
tell me how? do right =)
maybe ToAsciiEx GetKeyboardState