Use mouse wheel with numpad using ahk?

Posted by MrSnipyCat on Super User See other posts from Super User or by MrSnipyCat
Published on 2014-06-05T18:00:06Z Indexed on 2014/06/05 21:29 UTC
Read the original article Hit count: 248

Filed under:
|
|

I'm on a laptop without a mouse. This means I don't have the middle mouse button/wheel. I tried to use ahk to make my numpad act like a mouse wheel with the middle mouse button.

Numpad8::WheelUp
Numpad2::WheelDown
Numpad5::MButton

The problem is that it scrolls up/down 2 times (when I click and release the button).

How do I make the wheel scroll only once when I hit the button and not again after releasing it?

© Super User or respective owner

Related posts about autohotkey

Related posts about mouse-wheel