Menu

not caught switching the language

Help
lstdmi
2015-12-07
2015-12-11
  • lstdmi

    lstdmi - 2015-12-07

    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)
    ~~~~

     
  • lstdmi

    lstdmi - 2015-12-11

    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 =)

     
  • lstdmi

    lstdmi - 2015-12-11

    maybe ToAsciiEx GetKeyboardState

     

Log in to post a comment.