Python Forum
Doesn't work function pyautogui.typewrite()
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Doesn't work function pyautogui.typewrite()
#1
Hello, i'm learning pyautogui library and was faced with a problem with typewrite function. It doesn't type anything but the other functions of the library succesfully work. I presume that problem is in cyrillic, russian language in my PC but I am not sure.
Example of the code:
import pyautogui
pyautogui.press('win')
pyautogui.typewrite('chrome', 0.5)
pyautogui.PAUSE = 5
pyautogui.press('Enter')
It must open browser but program stops after pressing win button.
Reply
#2
The problem was solved by changing English language as default in system.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  PIP doesn't work YKR 1 570 Mar-28-2025, 02:10 PM
Last Post: snippsat
  I'm trying to install python 3.11.11 on windows 10 - it doesn't work Petonique 2 1,593 Feb-04-2025, 05:42 PM
Last Post: snippsat
  Extending list doesn't work as expected mmhmjanssen 2 1,324 May-09-2024, 05:39 PM
Last Post: Pedroski55
  print doesnt work in a function ony 2 1,039 Mar-11-2024, 12:42 PM
Last Post: Pedroski55
  Pyautogui, İmagesearch, Moving target Beyazx 0 1,145 Jun-27-2023, 08:47 PM
Last Post: Beyazx
  Why doesn't calling a parent constructor work with arbitrary keyword arguments? PurposefulCoder 4 1,876 Jun-24-2023, 02:14 PM
Last Post: deanhystad
  Why doesn't this code work? What is wrong with path? Melcu54 7 3,419 Jan-29-2023, 06:24 PM
Last Post: Melcu54
  color code doesn't work harryvl 1 1,778 Dec-29-2022, 08:59 PM
Last Post: deanhystad
  I dont know why my function won't work? MehHz2526 3 1,990 Nov-28-2022, 09:32 PM
Last Post: deanhystad
  PyautoGUI- How to use If - Else with pyautogui.locateCenterOnScreen Tiel 3 12,169 Jun-27-2022, 02:00 PM
Last Post: DeaD_EyE

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020