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
  print doesnt work in a function ony 2 233 Mar-11-2024, 12:42 PM
Last Post: Pedroski55
  Pyautogui, İmagesearch, Moving target Beyazx 0 554 Jun-27-2023, 08:47 PM
Last Post: Beyazx
  Why doesn't calling a parent constructor work with arbitrary keyword arguments? PurposefulCoder 4 870 Jun-24-2023, 02:14 PM
Last Post: deanhystad
  Why doesn't this code work? What is wrong with path? Melcu54 7 1,681 Jan-29-2023, 06:24 PM
Last Post: Melcu54
  color code doesn't work harryvl 1 842 Dec-29-2022, 08:59 PM
Last Post: deanhystad
  I dont know why my function won't work? MehHz2526 3 1,150 Nov-28-2022, 09:32 PM
Last Post: deanhystad
  PyautoGUI- How to use If - Else with pyautogui.locateCenterOnScreen Tiel 3 8,131 Jun-27-2022, 02:00 PM
Last Post: DeaD_EyE
  client.get_all_tickers() Doesn't work gerald 2 1,658 Jun-16-2022, 07:59 AM
Last Post: gerald
  pip doesn't work after Python upgrade Pavel_47 10 4,055 May-30-2022, 03:31 PM
Last Post: bowlofred
  pyautogui.locateOnScreen producing error dude8074 6 3,735 Apr-17-2022, 05:05 PM
Last Post: bowlofred

Forum Jump:

User Panel Messages

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