First of all, thanks for creating this useful project.
The problem is that when the HookKeyboard() pyhook function is used and the ´ character (located at the right of the p in spanish keyboard layouts) is typed, two characters are displayed (´´), making it impossible to write accented vocals such as á. The normal behavior is that when pressing that specific accent it should wait for the next character to be pressed and decide if either write an accented vowel for example á, or type the ' followed by the next character in case it is not a vowel, such as ´= or ´p. These accented vowels are covered by extended Ascii, as I´ve verified the ascii value is below 255.
This function is being used to write a proof of concept keylogger that is being used only for research purposes. The accented vowels is being written normally on the log file, the problem only shows up on what the user notices that is being written. When i stopped the pyhook program, the problem is fixed and the accented vowels show up as expected. Is it possible to fix it? Thanks.
This is the code i´m using import win32api import win32console import win32gui import pythoncom,pyHook import sys def OnKeyboardEvent(event): #Handling function... hm=pyHook.HookManager() hm.KeyDown=OnKeyboardEvent hm.HookKeyboard() pythoncom.PumpMessages()