; Noprobo.com WheeMin2 ; Enables middle mouse button minimize, even with default Windows mouse driver ; Now with autoscroll override, made possible with MouseSetOnEvent_UDF by MrCreatoR ; NOTE: Press Shift+Esc to terminate this script in case of conflicts/problems HotKeySet("+{ESC}", "Terminate") Func Terminate() Exit 0 EndFunc #include ; http://www.autoitscript.com/forum/topic/64738-mousesetonevent-udf/ $WheelDown = $MOUSE_WHEELDOWN_EVENT _MouseSetOnEvent($WheelDown, "WheelDownFunction") Func WheelDownFunction() Send("{ESC}") $CurrentWindow = WinGetTitle("[active]") WinSetState($CurrentWindow, "", @SW_MINIMIZE) EndFunc while 1 Sleep(10) Wend