pyautogui

Create a small control panel on screen for pyautogui monitoring and control purposes

Create a small control panel on screen for pyautogui monitoring and control purposes Question: How do I display a small control panel screen that can control and monitoring pyautogui process? I expect there is a pinned window that for monitoring purpose such as displaying current log.txt that has been generated by logging and controlling purpose …

Total answers: 1

Run pyautogui script inside a docker container to control the host screen

Run pyautogui script inside a docker container to control the host screen Question: At work we are using docker container to run our script on a custom made Linux machine, with a touch screen display. I’m the QA there and I want to create some automation tests, that should perform virtual touch clicks. My problem …

Total answers: 2

How do I press 2 keys at a time using pyautogui?

How do I press 2 keys at a time using pyautogui? Question: I want to press control + left arrow on my mac to swipe my screen. This is what I tried: import pyautogui pyautogui.press(["ctrl" ,"left"]) it does not work. Asked By: bar coding || Source Answers: For this you can use pyautogui.hotkey(). In your …

Total answers: 2

how can I use persian language text in pyautogui library

how can I use persian language text in pyautogui library Question: I want to fill some fields using pyautogui library But the problem is that when I want to fill the fields in Persian language, it is not done How should I solve the problem of this library in the Persian language? I don’t even …

Total answers: 1

Multiple object returns from method not acting as expected

Multiple object returns from method not acting as expected Question: While playing around with pyautogui I decided to make a method to limit the position of my cursor depending on the size of my monitor, since I was moving my cursor randomy. This is what my first attempt looked like. max_x = 10 max_y = …

Total answers: 2

Trying to make an online slots click bot

Trying to make an online slots click bot Question: I’m trying to code a bot in Python that will play a demo slot game for me. I want the bot to click a button when it appears on screen, a certain number of times. So for example, at the start of the game, the bot …

Total answers: 1

Problem with looping in python with pyautogui and keyboard

Problem with looping in python with pyautogui and keyboard Question: Hello my first time posting, I have a problem with python. So I have this code and it’s a keybind like when I press the number 1 i need to execute1() but after this run I don’t want the program to exit but just wait …

Total answers: 1

How can I make image recognition faster on python?

How can I make image recognition faster on python? Question: I want to recognize some photos from a game and used python for it, if I run code with less characters code works fine but when I continue to add characters it often can’t recognize characters because they disappear fast. I think the main problem …

Total answers: 1

Pandas run Converting program to contents of a folder

Pandas run Converting program to contents of a folder Question: I’ve created a program so that I can split the column into 2 columns by specifying the location of the file but I would like to do this for an entire folder so that the process can be a bit faster. Here is the code …

Total answers: 2