pydirectinput
pydirectinput copied to clipboard
Does this package able to write upercase characters and special characters?
I have tested it on a notepad and the automation can only write lower case characters out of an entire string input. When it receives uppercase characters, it simply ignores it. Any insights?
Right now you need to toggle the shift key manually, using keyDown()/keyUp(), for uppercase and special characters.
I haven't ported over the needsShift, isShiftCharacter() portions of PyAutoGUI. It also looks like press() and typewrite()/write() call lower() on the characters, so that will also need some attention if I or someone else takes on this project.
if you want you can try my fork https://github.com/TomW1605/pydirectinput/tree/master/pydirectinput. it works as a wrapper for standard pyautogui and simply replaces the back end functions it calls when sending key presses. there are still a few glitches but for the most part it should be stable.