Code: Select all
~LControl & WheelUp:: ; Scroll left.
{
Loop 2 ; <-- Increase this value to scroll faster.
SendMessage 0x0114, 0, 0, ControlGetFocus("A") ; 0x0114 is WM_HSCROLL and the 0 after it is SB_LINELEFT.
}
Also I use & to convert TabX into hotkeys, but then I have to manually restore single-press Tab functionality (because "The prefix key loses its native function" per docs on combo)
However, I don't really understand the value of both of them in this example.
Specifically, what is the difference between these 3 versions?
- ~LControl & WheelUp:: ; original
- LControl & WheelUp:: ; no tilde Does the horizontal scroll message have different effects (speed, distance) when it's passed with a Control?
- <^WheelUp:: ; no tilde, no ampersand Does making it a combo make it more reliable or something?
Thanks!