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!

Comptions
  • 23
  • 5

1 Answers1

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

xypha
  • 4,182
  • 4
  • 20
  • 39