If you don't have an ultra wide monitor like be, you'll need to update the initial starting position on line 18.
You just need to change the 2000, 357
numbers. Leave the 5 as is.
#SingleInstance, force | |
#NoEnv | |
#MaxThreadsPerHotkey 2 | |
f9:: | |
Toggle := !Toggle | |
loop | |
{ | |
If not Toggle | |
break | |
; Start mouse over donate | |
SoundBeep, 523, 50 | |
; Update these coordinates to slightly below the middle point on the donation icon. | |
; See screenshot for position. | |
; If it doesnt change pages correctly, its because of this probably. | |
MouseMove, 2000, 357, 5 | |
sleep 100 | |
; move mouse to page 2 and click | |
MouseMove, 420, -189, 5, R | |
Send, {Click} | |
sleep 100 | |
; move mouse down to Line in the Sand | |
MouseMove, 130, 658, 5, R | |
; Buy 4 bounties | |
Loop, 4 { | |
If not Toggle | |
break | |
SoundBeep, 523, 50 | |
Send, {Click, down} | |
sleep 3000 | |
Send, {Click, up} | |
sleep 100 | |
} | |
; move mouse to page 1 and click | |
MouseMove, -238, -671, 5, R | |
sleep 100 | |
Send, {Click} | |
sleep 100 | |
; move mouse down to Donate | |
MouseMove, -323, 192, 5, R | |
sleep 100 | |
; Donate 4 times | |
Loop, 4 { | |
If not Toggle | |
break | |
SoundBeep, 523, 50 | |
Send, {Click, down} | |
sleep 3250 | |
Send, {Click, up} | |
sleep 700 | |
} | |
; Open bounties | |
Send, {F4} | |
sleep 1000 | |
; move mouse to first bounty | |
MouseMove, 290, 0, 5, R | |
sleep 100 | |
; Turn in 4 bounties | |
Loop, 4 { | |
SoundBeep, 523, 50 | |
Send, {Click} | |
sleep 500 | |
} | |
; Close bounties | |
Send, {Esc} | |
; move mouse back to donate | |
MouseMove, -290, 0, 5, R | |
; Wait for bounty screen to close and vendor ui to reappear. It's slow | |
sleep 3000 | |
; Break only during dev | |
; break | |
} | |
return | |
^r:: ; press control+r to reload | |
SoundBeep, 500, 50 | |
Reload | |
SoundBeep, 600, 50 | |
return |
Explain it to me like i'm 5: How do i run this?