pyhook Questions

4

I wrote this code on to observe the event of a keydown motion. The problem appears to be that when this script is run, certain programs will crash this program, spitting out this error message: Ty...
Grefe asked 2/10, 2014 at 8:4

7

I am working to make a small keylogger with Python, by using the pyHook, pythoncom and Pywin32 modules. Here is my code: import pyHook, pythoncom, sys, logging file_log = 'C:\\important\\log.txt'...
Fante asked 20/9, 2013 at 2:18

4

I ran this PyHook sample code: import pythoncom, pyHook def OnKeyboardEvent(event): print 'MessageName:',event.MessageName print 'Message:',event.Message print 'Time:',event.Time print 'Wind...
Corvin asked 27/10, 2015 at 20:23

2

I am trying to write a basic keylogging program on python. I need to install the pywin32 and pyhook modules. I have managed to get pywin32 installed, but cannot seem to pyhook to work. I have read ...
Ungrateful asked 4/2, 2016 at 13:19

1

Solved

I'm trying to rebuild the pyhook libary as described in this answer here. Basically, I need to change a few lines of the C code for the pyhook module. The problem is I don't know how to acc...
Danette asked 18/2, 2016 at 2:34

1

Solved

I Have installed pyHook for my windows 64 bit.The setup has installed it in C:\Python27\Lib\site-packages dir i cant import pyhook (i can see win32 named folder there think so it is its folder) in ...
Tomtom asked 7/9, 2015 at 21:17

3

I am writing a chunk of code to get gather mouse click information using pyHook and then the win32api to get access to a click function. Essentially I am trying to use the mouse to record a pattern...
Herc asked 21/6, 2013 at 21:7

2

Solved

I have a program that captures all key presses using pyHook, then runs a few functions. I notice that after a while (of random duration), the program was stop receiving key triggers, even though I ...
Leomaleon asked 18/3, 2012 at 22:54

2

Solved

I'm trying to use pyhooks to detect mouse clicks anywhere on screen. The problem is that I can only get it to work with PumpMessages(). I'd like it operate inside of a while loop that I've construc...
Stalingrad asked 4/4, 2012 at 3:47

1

Solved

I wrote a script to move the mouse around when a key is pressed using pyHook. The problem is that after 6 key press events the script stops picking up key presses and needs to be ended from task ma...
Wits asked 1/1, 2013 at 21:54

2

Solved

I'm writing a macro that will click certain spots on the screen when I press a key. The first time I press a key, everything runs fine. However, any other key press results in the error: time....
Rafiq asked 18/3, 2012 at 21:28
1

© 2022 - 2024 — McMap. All rights reserved.