Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I used to have an app that would scroll the window your mouse was hovering over instead of scrolling the active window. Unfortunately I lost that app. Does anyone know what that app is called?

share|improve this question

5 Answers 5

up vote 2 down vote accepted

I use AutoHotKey for this:

EasyWheel(d)
; if _WHEELAUTOFOCUS if set, check which window is under the mouse and gives it focus if it hasn't already
; then send scroll event to the control under the mouse
; original code from Shimanov: http://www.autohotkey.com/forum/viewtopic.php?t=6772#54821
{
Global _WHEELACC
   , _WHEELMAXN
   , _WHEELAUTOFOCUS
Static t, s


   if ( A_TickCount > 500+t) {
      t := A_TickCount
      s :=0x780000
   }
   else if (s < _WHEELMAXN)
      s += _WHEELACC

   MouseGetPos x, y, hwnd
   h := DllCall("WindowFromPoint", "int", x, "int", y)
   if _WHEELAUTOFOCUS && (hwnd<>WinExist("A"))
      WinActivate, ahk_id %hwnd%
     testan:=WinActive("A")
    if (testan<>hwnd){
    	SendMessage, 0x20A, d*s,(y<<16)|x,, ahk_id %h%
    	}
    	else if (d=-1){
    	send {WheelDown}
    	}else{
    	send {WheelUp}
    	}
}


WheelUp:: EasyWheel(1)
WheelDown:: EasyWheel(-1)
share|improve this answer
    
+1 for AHK -- amazing little program –  bedwyr Nov 6 '09 at 21:20
    
I adore it. I don't know what I'd do without it, apart from be massively less productive and have less fun. –  Phoshi Nov 6 '09 at 21:26
    
Not what I the app I was looking for, but 10x better. BTW, always love your comments on Lifehacker. –  sound2man Nov 6 '09 at 21:34
1  
Thanks :) That script is slightly edited from the version I took off the official forums, it sends an actual wheel-down message if the window is focussed. No real difference, but certain applications can handle things... differently, and that seemed to maximize compatibility with everything <3 –  Phoshi Nov 6 '09 at 21:36
1  
Does not work in Visual Studio 2010. –  Czarek Tomczak Oct 22 '12 at 17:07

katmouse works well - small and easy to enable or disable from the system trayp

share|improve this answer
    
works perfectly for me, thanks –  davr Nov 6 '09 at 23:42
    
Works perfectly for me too, in Windows 7 64 bit. Unobtrusive and reliable little application :) –  yummer Nov 18 '11 at 12:16

There’s a few that can do that, but TweakUI for sure has that option (Mouse->X-Mouse).

share|improve this answer
1  
Can you add the other ones? I'm looking for one that runs on Windows 7 (64 bits). –  Snark Nov 6 '09 at 21:01

I use WizMouse. Works in Vista and 7.

share|improve this answer

XMouse Toggle is a stand alone utility to do this on XP, Vista, 7 both 32 and 64 bit.

XMouse Toggle

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.