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
1
vote
1 answer

Why does this line of code produce the TypeError: 'tuple' object cannot be interpreted as an integer

I'm trying to print the color value of a screenshot for some monitoring software. For this I'm using autopy, which has the following command on their website for extracting an rgb value of a…
user10036786
1
vote
1 answer

How do I get autopygui and pyglet to work together?

Getting a conflict between pyglet and autopygui, when one is running I can't use the other. I found a few things online but no one has posted a resolution to the problem. ctypes.ArgumentError: argument 1: : expected LP_POINT…
Sean O'Rourke
  • 182
  • 1
  • 2
  • 11
1
vote
2 answers

python autopy problems/confusion

so im trying to make a bot script that when a certain hex color is on a certain pixel it will execute some code to move the mouse,click etc. and i have it to where it takes a screenshot every 1 second to the same png file and updates the png file's…
1
vote
1 answer

What is an "integer"? (TypeError: argument must be integer, not int)

I am trying to use a function from autopy and get the error message TypeError: argument must be integer, not int What does this "integer" mean? My code: import autopy, os, time from autopy import key time.sleep(1) key.tap(key.K_RETURN)
1
vote
0 answers

Pass clicks through Tkinter window? Mac OSX

Is there a way to make a Tkinter window unclickable? Meaning that any input that should be caught by the handler are redirected to whatever window is behind it? If not in Tkinter, would there be a way in PyQt or wxPython? My goal is to have a…
Pigman168
  • 399
  • 1
  • 4
  • 13
1
vote
1 answer

Is autopy installable locally?

i seem to have some trouble installing autopy.h https://github.com/msanders/autopy/#introduction i already tried the installation via git: $ git clone git://github.com/msanders/autopy.git $ cd autopy $ python setup.py build but i get the following…
tarrasch
  • 2,630
  • 8
  • 37
  • 61
0
votes
1 answer

How can I remove the "jitter" of the mouse cursor moving with the help of hand detection?

There is a project on computer vision in python: an image is captured from a webcam using opencv, then using mediapipe, hands are detected in the frame and using autopy, the mouse cursor moves along with the index finger of the hand. There was a…
0
votes
0 answers

ImportError: DLL load failed while importing _greenlet: The specified module could not be found

I tried running the command "python -m auto_py_to_exe" on Visual Studio Code/Command Prompt on a Windows 10 Virtual Machine using Python 3.9.0, Python 3.10.0/3.10.11 as well as Python 3.11. However, I always get the following: Traceback (most recent…
User2000
  • 119
  • 2
  • 8
0
votes
1 answer

Why can't I install pip autopy?

Command used: C:\Users\HP VICTUS>pip install autopy Error message: Collecting autopy Using cached autopy-4.0.0.tar.gz (20 kB) Installing build dependencies ... done Getting requirements to build wheel ... error error:…
0
votes
0 answers

I was creating a virtual mouse and I keep getting this error. I have tried with autopy and with pyautogui but in both cases it gives me same error

This is the error I'm getting right now and I just can't figure out what the problem is. INFO: Created TensorFlow Lite XNNPACK delegate for CPU. Traceback (most recent call last): File "C:\AIproject\virMouse.py", line 18, in lmList,…
0
votes
1 answer

Autopy Mouse Functionality

How to performed Right Click with Autopy. In autopy we perform mouse left click by autopy.mouse.click() #to perform left click how to perform Right click with autopy or is there any other way to perform right click. I tried following way but not…
0
votes
0 answers

import autopy ModuleNotFoundError: No module named 'autopy'

i tried installing using pip install autopy and the output now is Collecting autopy Using cached autopy-4.0.0.tar.gz (20 kB) Preparing metadata (setup.py) ... error error: subprocess-exited-with-error × python setup.py egg_info did not…
0
votes
0 answers

Unable to install autopy on PyCharm

I've been trying to install autopy (4.0 version) on PyCharm and I'm also using the latest version of Python. I believe I've followed the instruction to download it on terminal like…
Meg_21
  • 1
  • 1
0
votes
1 answer

pip install atuopy failed

C:\\Users\\BoBo\>pip install autopy Collecting autopy Using cached autopy-4.0.0.tar.gz (20 kB) Preparing metadata (setup.py) ... error error: subprocess-exited-with-error × python setup.py egg_info did not run successfully. │ exit code: 1 ╰─\> \[6…
latter
  • 1
  • 1
0
votes
1 answer

auto py to exe module not found ezdxf

Tried to make exe in a file, and its not import the ezdxf module correctly. I am using spyder by anaconda. the error: Traceback (most recent call last): File "Conversor - Tkinter.py", line 3, in File…