Like the title suggest it's about the win32api Virtual key codes
see : https://learn.microsoft.com/en-us/windows/win32/inputdev/virtual-key-codes
I need to convert a letter in an entry into it's virutal key code. If the entry value it's A we need to convert it as 0x41 if it's B it will be 0x42 if it's C 0x43 etc. And it can also work with Shift,Ctrl or Alt (that's not only with letters). My problem is that I don't know how to get their virtual key code based on the Key in the entry.
Right here for example you have an entry with value U we should obtain the virtual key code of U that is => 0x55
So when we click on the key, GetKeyState() of win32api will detect it (because it will be in the form 0x0...) and a click will be made with the help of pyautogui.
It is absolutely necessary to convert the value of the input into virtual key code in order to get GetKeyState to work with
