2

I just want to use Paint for a whiteboard style sketching on math problems etc. And I really need a way to navigate efficiently on the page. Maybe even like: hold space + move mouse, to grab the page like in Photoshop.

So is there some config file or hidden shortcut to scroll the page to the left/right? Or maybe there is an easy way in Autohotkey?

Thanks y'all!

1
#IfWinActive ahk_class MSPaintApp

+WheelUp::              ; Shift + Wheel Up for horizontal scrolling left
MouseGetPos,,,id, fcontrol,1
; Loop 1 ; <-- Increase for faster scrolling
SendMessage, 0x114, 0, 0, %fcontrol%, ahk_id %id% ; 0x114 is WM_HSCROLL and the 0 after it is SB_LINERIGHT.
return

+WheelDown::            ; Shift + Wheel Down for horizontal scrolling right
MouseGetPos,,,id, fcontrol,1
; Loop 8 ; <-- Increase for faster scrolling
SendMessage, 0x114, 1, 0, %fcontrol%, ahk_id %id% ;  0x114 is WM_HSCROLL and the 1 after it is SB_LINELEFT.
return

#IfWinActive

Source: Horizontal scrolling shortcut in Windows

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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