To Scroll the Bar with Arrow Keys
Posted: 19 May 2017, 10:05
I tried and studied AHK exhaustively, but I confess I gave up and ask for help. I would like to position the cursor on the scroll bar with "Left & Down or Up::", pull it down 1 pixel, and return to the original position in Explorer.exe. That's how far I've come ... But I know it's not the right way, since the scroll bar can be in any position y, so the correct thing would be to hold the ClassNN object: ScrollBar2 and adjust the repetition speed.
Tnxs in advance
Code: Select all
~Left & Down:: MouseGetPos, px, py Loop, 100 MouseClickDrag, L, 1595, 200, 1595, 201 MouseClickDrag, L, 1595, 202, 1595, 203 MouseClickDrag, L, 1595, 204, 1595, 205 MouseClickDrag, L, 1595, 206, 1595, 207 MouseClickDrag, L, 1595, 208, 1595, 209 Mousemove %px%,%py%, 1 Return