I am trying to detect a mouse left click event anywhere on the screen (no GUI).
_IsPressed() when combined with a loop/sleep could not detect a click if the click is fast enough to beat the sleep time.
What alternatives I can use to make sure a mouse click event is captured?
Thanks
I've been using the BugFix code for more than a year for a small functionality where I let a click of my right mouse button do a AdlibRegister("_function", 500) that after running for a few seconds unregisters itself again. I also have a Pause button in my script and when pausing I can disable the functionality by using the supplied ... _WinAPI_UnhookWindowsHookEx($hHook)
DllCallbackFree($hStub_MouseProc)My problem is unpausing it. I have tried combinations of the supplied... Global $hStub_