Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
- ; #Warn ; Enable warnings to assist with detecting common errors.
- SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
- SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
- x1 := 587 ; mouse coords of top left
- y1 := 577
- x2 := ; mouse coords of top scroll bar
- y2 :=
- x3 := ; mouse coords of bottom scroll bar
- y3 :=
- i := 416
- f9:: ; have the window selected then press f9
- WinGet, actWin, ID, A
- loop
- {
- Click %x2% %y2% down
- sleep 50
- Click %x3% %y3% up
- ControlClick % "x" x1 " y" y1, ahk_id %actWin%,,,, NA
- ControlSend,, %i%{tab 2}{enter}, ahk_id %actWin%
- sleep 31000
- i++
- }
- f10:: reload ; f10 to stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement