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.5k stars 1.27k forks source link

with pyautogui.hold(alt'): problem #866

Open safaka123 opened 4 months ago

safaka123 commented 4 months ago

pyautogui works very well. There is a Ş sign in Turkey. I write this sign on Windows with ALT+num0+num2+num2+num2. with pyautogui.hold('alt'):# Ş harfi OK pyautogui.press(['num0', 'num2', 'num2', 'num2'])

It writes successfully. The program continues without giving any errors. It can write over and over again. But even though it does not give any errors, it plays an error sound every time it writes.

How can I solve this problem.

Thanks, Regard

theonlyswissarmy commented 4 months ago

What do you mean by an error sound? What platform did this happen on?

safaka123 commented 4 months ago

the error still persists. I can't find solve. But change module with keyboard module.