Category "pyautogui"

datetime expected float, got string

I'm trying to make a pyautogui script that adds the users input to the current time using the datetime/timedelta module. I want the pyautogui part to use typewr

PyAutoGui uses a scaled resolution of my screen for functions (MacOS)

I'm running on Macbook and my issue is that functions like pyautogui.moveTo use a coordinate system of 1440,900 when my screen size is 2560,1600) This is a prob

Pyautogui don't work in game window

I'm making some tests using Pyautogui on games. But in those games that change your cursor and fullscreen games, none of the methods work. I'm trying now on Ra

Pyautogui don't work in game window

I'm making some tests using Pyautogui on games. But in those games that change your cursor and fullscreen games, none of the methods work. I'm trying now on Ra

How do I wait for pyautogui.locateonscreen() to return a value?

I am creating a webbot and I want to wait for a certain image to appear on the webpage before I continue my script. I am making use of pyautogui.locatesonscree

How to know if the left mouse click is pressed

I am using PyAutoGUI library. How can I know if the left mouse button is pressed? This is what I want to do: if(leftmousebuttonpressed): print("left") els

I'm stuck on pyautogui stuff

im trying to make a program that writes a certain other program from a txt, giving in input a word that is associated with a certain word. For doing so im using

I'm stuck on pyautogui stuff

im trying to make a program that writes a certain other program from a txt, giving in input a word that is associated with a certain word. For doing so im using

How to use PyAutoGUI to detect RGB values

I'm trying to build a small bot that clicks only certain colours. I believe pyautogui.displayMousePosition() should display the position of my mouse as well as

Windows Desktop GUI Automation using Python - Sleep vs tight loop

I am using PyAutoGUI library of Python to automate GUI. The application which I am automating opens a new window after I am done with data entry on my current w