pyHook is a python wrapper for global input hooks in Windows. Specifically it wraps the Windows SetWindowsHookEx API function using low-level keyboard (WH_KEYBOARD_LL) and mouse (WH_MOUSE_LL) hooks.
Questions tagged [pyhook]
202 questions
0
votes
0 answers
how to deal with very slow training in keras?
The story
I have a data-set of ECG signal recordings which is shaped (162 patient,65635 sample), and I got the continuous wavelet transform of these recording so that the result is shaped(162 patient,65635 sample, 80 coefficient) which is very…

Mohammed Khalid
- 155
- 1
- 6
0
votes
1 answer
aggregating, grouping and UN stack to many columns
i am in python i have data-frame of 177 columns that contain patient values for 24 hours as in this
subject_id hour_measure urinecolor Respiraory
3 1.00 red 40
3 1.15 …

mayaaa
- 289
- 1
- 5
- 14
0
votes
0 answers
pyHook-1.5.1-cp37-cp37m-win_amd64.whl is not a supported wheel on this platform
i am trying to install the pyHook module on to my python. And i am getting an issue that says this:
pyHook-1.5.1-cp37-cp37m-win_amd64.whl is not a supported wheel on this platform.
Note that i am using python version 3.7.
The way i tried to…

Roald Andre Kvarv
- 187
- 1
- 3
- 21
0
votes
1 answer
Retrieve the element name and xpath when clicking a button or typing in a textbox
I want to develop an app that helps me to record all the keyboard and mouse events executed in a particular Windows Application for example in Microsoft Excel, Acrobat, Notepad, and so on.
I tried Pyhook and Win32gui to achieve my goal so far.…

sergioMoreno
- 189
- 1
- 15
0
votes
1 answer
Parse bibtex from url
I need to parse bibtex file in python referred by an url for eg: " https://www.aclweb.org/anthology/papers/J/J18/J18-1001.bib"
From bibtex I need to extract "pages" field. How to achieve this in python?

sayak chowdhury
- 41
- 1
- 5
0
votes
1 answer
Python script monitors click events but blocks them, not allowing the click event to pass through
I've written a simple program which allows you to record click events and save them. You can then load the save again, and it will fire all the click events again as you saved them. For the folks wondering, I wrote this program a year ago for…

Irash
- 65
- 8
0
votes
0 answers
pyHook hooks are making inputs too laggy - is there a way to optimize those hooks?
I am trying to get inputs when I am playing the game (Warcraft III to be exact). Due to it being an RTS game it requires a high number of inputs in short periods. I am trying to use pyWinhook to get the inputs, mss to get screenshots and cv for…

Damian Ziółkowski
- 87
- 11
0
votes
0 answers
Having trouble identifying keypress using msvcrt
I have been trying to receive input in a way that won't stuck my program (msvcrt instead of recv). Yet, my program isn't working and I'm having trouble understanding why.
I tried writing a code (that somehow works on my friend's computer, but not on…

mor grinfeld
- 1
- 2
0
votes
0 answers
pyhook and wxpython - Usage together causes hang
My python application stops responding whenever I do anything "wx" a few times...whether that be clicking buttons, menus, inside the text area, etc.
This seems to be a problem with my use of windows hooks elsewhere in the program. When the two are…

Christopher Pisz
- 3,757
- 4
- 29
- 65
0
votes
0 answers
How to get accelerators with pyhook
I have been tasked with capturing the user's keystrokes, including combinations of keys, such as ctrl-O and shift-F11.
I can get keydown events, but I do not see a means to get combinations of events.
Must I tracks keys such as ctrl, shift, alt, and…

Christopher Pisz
- 3,757
- 4
- 29
- 65
0
votes
0 answers
I am having error "can't import main" in using Python pip to install Pyhook
I am trying to install pyhook by using Pip in python,
but everytime it gives error of can't import main.
pip3.6 install Pyhook
Traceback (most recent call last):
File "c:\users\admin\appdata\local\programs\python\python36-32\lib\runpy.py", line…

Technical A.D.
- 21
- 6
0
votes
1 answer
Must windows hooks be registered on the same thread as the message pump?
I am trying to make use of Windows Hooks in order to intercept and block keystrokes while my application sends its own gui events.
I came up with the following listing:
import pythoncom
import pyHook
import threading
import time
def…

Christopher Pisz
- 3,757
- 4
- 29
- 65
0
votes
1 answer
How to fix pyHook typeError?
I'm making a very simple keylogger, and whenever I type a key, the code works, but it also returns a TypeError: an integer is required (got type NoneType).
It works fine other then that. I've searched online and have come up blank except…

Max
- 87
- 11
0
votes
0 answers
pyhook installing in python 3.7 "Could not find a version that satisfies the requirement pyHook "
I tried to download pyhook with pip but im getting the error: " Could not find a version that satisfies the requirement pyhook (from versions: )
No matching distribution found for pyhook "
I've tried to download it from…

Patty
- 1
0
votes
1 answer
pyHook and pywin32 are installed but not found
For a project in python I need both the pyHook and pywin32 modules.
I installed them by downloading the .whl files for them and installing them with pip.
But when I try to import them in my project they can not be found.
This is the error I…

Java_pls_why
- 1
- 2