Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
0 votes
1 answer
59 views

I'm trying to write a click bot that can read and write (record). So I need a click listener. Since pyautogui doesnt have a click listener, I'm using pynput. But pynput only returns the X,Y click for ...
1 vote
0 answers
55 views

I've got a webapp with an iframe embedded in it, and have been using pynput as a way to detect the mouse inputs on this webapp. Trouble is, when using the touchscreen to click on the iframe it no ...
-2 votes
1 answer
143 views

I'm trying to click a windows application window while its in a minimized state (don't maximize). The following code is able to take a snapshot image of a minimized application, then perform image ...
0 votes
1 answer
77 views

How to monitor keyboard input while GTA5 is running using python script. I want to press a key while the game is running to directly terminate the game process.I’ve tried using the keyboard and pynput ...
Jay's user avatar
  • 1
2 votes
1 answer
54 views

So I have written this Python script to vote repeatedly (It's allowed) for a friend on a show at a local TV station. import os import time from pynput.keyboard import Key, Controller os.system("...
ferd's user avatar
  • 51
0 votes
0 answers
79 views

I am trying to get pynput working on my raspberry pi 4. I tried using the example "monitoring keyboard" script from pynput and I am getting exactly the same issue as in this post. I am using ...
0 votes
1 answer
805 views

so when ever I try to import the keyboard module in the terminal I tipe: pip3 install keyboard and I get a really long error message×ばつ This environment is externally managed ╰─> To install Python ...
0 votes
0 answers
32 views

I'm trying to create a program that copies a certain text with the shortcut ctrl + c, and through that same hotkey, activates a logic that will perform certain formatting actions in the string. The ...
1 vote
0 answers
184 views

I’m trying to use the pynput library to capture key presses and releases in Python, but the listener is not responding to key events as expected. I’m running the script in a virtual environment on ...
Luis Valdo's user avatar
0 votes
0 answers
97 views

I'm developing a Python-based keylogger. The script runs without errors but does not show captured keystrokes on Windows 11. I expected it to log keystrokes in a file, but during the decryption phase ...
0 votes
1 answer
169 views

The problem I'm having is that I can't add the PyNput module to my environment in Replit. I'm getting this error when I click "install": warning: no previously-included files found matching '...
0 votes
0 answers
83 views

import pynput import time def _flush_input(): try: import msvcrt while msvcrt.kbhit(): msvcrt.getch() except ImportError: import sys, termios ...
amit omer's user avatar
0 votes
0 answers
102 views

I am making a program that can store a clipboard history that you can scroll through to choose what to paste. I want some ghost text to appear (where your text cursor is) of what you currently have in ...
0 votes
1 answer
164 views

Here is the keyboard and mouse listener part of my code: python def mouse_listener(scroller): """Listens for mouse scroll events to scroll clipboard history.""" ...
0 votes
1 answer
56 views

I want to detect when I press the "space" bar key using python and pynput. I tried their documentation, my old code but nothing works anymore on MacOS 15.1.1. Even running the script using ...

15 30 50 per page
1
2 3 4 5
...
46

AltStyle によって変換されたページ (->オリジナル) /