Window)
while True:
listener()
time.sleep(8)
what is wrong and what's the good practice ? Thanks so much !
在2019年03月30 03时35分, "Tim Roberts"写道:
Zhao Lee wrote:
> I originally posted the question here
> <https://stackoverflow.com/questions/55399565/hook-the-left-mous
I originally posted the question here , please help ,thank you !
I want to hook the left mouse button down event on any window, my code as
following :
import win32guiimport win32uiimport win32condef onMousePressed(self):
print('onMousePressed', win32gui.GetCursorPos())def listener():
w