asweigart / pyautogui

A cross-platform GUI automation Python module for human beings. Used to programmatically control the mouse & keyboard.
BSD 3-Clause "New" or "Revised" License
10.22k stars 1.24k forks source link

How to keep string’s mixed upper and lower characters? #880

Closed dreamMore10 closed 1 month ago

dreamMore10 commented 1 month ago

Either write() or typewrite() function can not keep string’s format.

Example: pyautogui.write(“Hello World”) Output: hello world

While my intention is to keep upper “H” & “W”, does anybody has a solution?