rgajrawala
rgajrawala

Reputation: 2188

AutoHotKey Mapping For Mouse

Here is what I am trying to do:

When user clicks mouse, move mouse scroller ( the roller in the middle of the mouse ( I have a Microsoft Intelli-Mouse ) ) by 1 upward. This should go on forever.

Example: user clicks mouse, page moves up.

All I need to know are what is the "mapping", is it called, for click and scroll up 1.

For example: Crt+Alt+s = ^!s, what is MouseClick and MouseScrollUp?

Thank you!

Upvotes: 0

Views: 753

Answers (1)

Robert Ilbrink
Robert Ilbrink

Reputation: 7953

This would be a solution (using the middle button, option to change to lbutton or rbutton)

MButton::
While GetKeyState("MButton", "P")
{
    Send, {WheelUp 1}
}
return

Upvotes: 1

Related Questions