boppreh / mouse

Hook and simulate global mouse events in pure Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mouse hook callback is not being called while python code running as windows service

coder-maddy opened this issue · comments

We have a requirement of counting mouse clicking of particular time period .So for that we have developed a windows service using Python. But mouse click callback is not being called while running as service. If we call script directly then it does work.

pynput-poc.txt
Attached source file as text file.