Questions tagged [autopy]

AutoPy is a simple, cross-platform GUI automation toolkit for Python. It includes functions for controlling the keyboard and mouse, finding colors and bitmaps on-screen, and displaying alerts -- all in a cross-platform, efficient, and simple manner.

AutoPy is a simple, cross-platform GUI automation toolkit for Python. It includes functions for controlling the keyboard and mouse, finding colors and bitmaps on-screen, and displaying alerts -- all in a cross-platform, efficient, and simple manner.

47 questions
0
votes
0 answers

Auto-Py-To-Exe can not convert when trying to install modules

I use Python 3.10, and whenever i try to convert my file to an exe it gets stuck and gives the error "IndexEroor: Tuple index out of range". When I remove all imports as numpy, selenium etc. it works fine. Seems as if I try to import packages it…
0
votes
1 answer

Adding additional files file into Python executable

I have a script that invokes Selenium and files in values from a selected CSV. I've used PyGUI as the interface. Now I'd like to convert the script into an executable but I also need to add the chromedriver.exe file bundled with it, how do I go…
RawalD
  • 361
  • 2
  • 14
0
votes
2 answers

why i cant pip install autopy?

Collecting autopy Using cached autopy-4.0.0.tar.gz (20 kB) Preparing metadata (setup.py) ... done Using legacy 'setup.py install' for autopy, since package 'wheel' is not installed. Installing collected packages: autopy Running setup.py…
SODA
  • 1
  • 1
  • 1
0
votes
1 answer

Error before make the python executable with auto-py-yo-exe NameError: name '__version__' is not definied [3644] Failed to execute the script

I tried to create an exe with auto py to exe but when I tried to execute it It throws an error. I tried to execute it as admin but it doesn't make any difference.
0
votes
1 answer

Errors and problems while installing AutoPy

I want to install AutoPy for a particular python program. but when i run pip install -U autopy then this error comes up : https://drive.google.com/file/d/11vFBWXxNCnBptY3Qm_maP41yQ-lYFgAc/view?usp=sharing I have Rust Nightly and the C++ compiler…
CoderMan
  • 43
  • 6
0
votes
0 answers

'Fata Error ' : Python executable throwing error

I have a 'working' Python code, TCP_Barcode_V1.py which read a text file and gives output in a tkinter window. However, if I convert the Python file to an .exe using auto-py-to-exe, when executing TCP_Barcode_V1.exe, am getting error like fatal…
Sid133
  • 354
  • 2
  • 17
0
votes
0 answers

Converting multiple python programs to a single exe with argument passing capability

I am using multiple python programs . Where each program has different set of arguments passed (Like the below situation). python program_1.py --filename "path_to_a_file" --length 50 python program_2.py --filename "path_to_another_file" --labelled…
Aadithya Sathya
  • 797
  • 1
  • 6
  • 12
0
votes
0 answers

failed to execute script python exe

I'm trying to convert my python script to EXE. What the script does is a basic analysis of an excel file, and generates a report in pdf. Also in the script, I create a png file, then reload it to the pdf through the script. I'm trying to convert the…
0
votes
1 answer

tuple' object cannot be interpreted as an integer in autopy

i try to use this code but it show "tuple' object cannot be interpreted as an integer" import autopy creen = autopy.bitmap.capture_screen(); po = tuple(screen.find_color((255,117,99),0.05));
0
votes
1 answer

autopy gives a ValueError when taking a screenshot

I'm trying to take an image of a small section on my screen using autopy and for some reason I'm getting an error. For reference, I am running on a 1920x1080 display. Here's the code: box = ((995, 5), (995 + 212, 5 +…
AslanT
  • 13
  • 2
0
votes
1 answer

Why are Screenshots not working on some PCs (Python)

I'm trying to take a picture of a screen so I can look at some pixels. Problem is, that on the computer it has to work on, the screenshot is only about a quarter of the screen, the rest is completely black. It's a Win10 with Python3 and a normal…
user10036786
0
votes
1 answer

Clicking in an image with Autopy

How can I use the PyAutoGUI function "LocateOnScreen()" in Autopy in order to clicking in an image? Any example? There is few documentation. I cannot use Pyautogui in my new laptop and I building a bot to clicking in different images moving on the…
0
votes
3 answers

Why i can't install autopy?

I'm using MacBook and Operating System is MacOS Sierra. I use this command to install autopy: sudo pip install autopy But i get this error: Collecting autopy Downloading autopy-0.51.tar.gz (74kB) 100% |████████████████████████████████| 81kB 256kB/s…
Mubariz Hajimuradov
  • 475
  • 1
  • 9
  • 20
0
votes
2 answers

Autopy mouse automation process

I'm trying to automate a process in which my mouse/cursor moves in a loop and writes a value (which is in this loop). autopy.mouse.move(800,350)…
Aditya
  • 29
  • 1
  • 7
0
votes
1 answer

python autopy grab screen rectangle

I am using autopy module to grab screen and save it to file. autopy.bitmap.capture_screen() works great but how can I grab specific portion of screen x=0, y=10, width=200px, height=100px? In autopy source is something like this but I have no idea…
peter
  • 4,289
  • 12
  • 44
  • 67