pyxhook
pyxhook copied to clipboard
Parameters doesn't seem to work
Using this example: https://github.com/JeffHoogland/pyxhook/blob/master/example_with_parameters.py
It produces the error:
Traceback (most recent call last):
File "pykeylogger3.py", line 22, in
I'm really not great at OOP, but looking at https://github.com/JeffHoogland/pyxhook/blob/master/pyxhook.py ling 65 for the init of the HookManager class has
def init(self,parameters=False):
Which hookman = pyxhook.HookManager(parameters=True) should override (sorry if that is not the correct term) with the line hookman.KeyDownParameters = parameters (provided parameters is a properly formatted dict).
Starting on line 94 of pyxhook.py is looks like the code is there to process the parameters but this is where I start getting lost. Sorry. Wish I could help by point out what's wrong.