Developers: Code Snippets
Here's my sample AHK low level mouse hook. The comments should be pretty self-explanatory. This is the hook I'm hoping to implement in eXpresso.
#Persistent #NoEnv SetBatchLines -1 ListLines off pMouseHook := RegisterCallback("MouseHookProc", "", 3) ; LowLevelMouseProc hMouseHook := DllCall("SetWindowsHookEx", "int", 14, "uint", pMouseHook, "uint", DllCall("GetModuleHandle", "uint", 0), "uint", 0) ; set the WH_MOUSE_LL hook DblClick := DllCall("GetDoubleClickTime") ; gets system dbl click time DllCall("SetDoubleClickTime", "uint", 30) ; set a very low system dbl click time
- Read more about Developers: Code Snippets
- 3 comments
- Log in or register to post comments