I'm looking for a way to scroll with the keyboard using AutoHotkey. It would be also great if I could tweak scrolling speed somehow.
|
feedback
|
|
You can use the
You can make it go faster by changing the There is also a script at autohotkey.com that sets up all the mouse buttons and movements on the NumPad, though I've not tried it. | |||
|
feedback
|
Mouse Wheel Hotkeys [Windows NT/2000/XP or later]Hotkeys that fire upon turning the mouse wheel are supported via the key names WheelDown and WheelUp. WheelLeft and WheelRight are also supported in v1.0.48+, but have no effect on operating systems older than Windows Vista. Here are some examples of mouse wheel hotkeys:
In v1.0.43.03+, the built-in variable A_EventInfo contains the amount by which the wheel was turned, which is typically 1. However, A_EventInfo can be greater or less than 1 under the following circumstances:
Some of the most useful hotkeys for the mouse wheel involve alternate modes of scrolling a window's text. For example, the following pair of hotkeys scrolls horizontally instead of vertically when you turn the wheel while holding down the left Control key:
Finally, since mouse wheel hotkeys generate only down-events (never up-events), they cannot be used as key-up hotkeys. [Source: Here] | |||
|
feedback
|
|
I recommend solution from http://lifehacker.com/5626708/use-autohotkey-to-scroll-backwards-in-the-command-prompt-by-keyboard Personally I prefer use LWin key as modifier (to avoid collision with Emacs key binding):
LWin & PgUp::
Send {WheelUp}
Return
LWin & PgDn::
Send {WheelDown}
Return
This solution distinct from yhw42 solution as much simple to understand and it uses standard Windows settings for scrolling (how fast to scroll). NOTE This techniques useful on notebooks (as touchpad can be useless for some user) and for users that dislike mouse. Mouse event send to active GUI elements, so you need proper place mouse position. | |||
|
feedback
|