Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- positions := [[910,490],[960,490],[1010,490],[1010,540],[1010,590],[960,590],[910,590],[910,540],[960,540]]
- curPos := 1
- F11::
- startTime := A_TickCount
- KeyWait, F11, T0.3
- elapsed := A_TickCount - startTime
- if (elapsed >= 280){
- send {click down}
- sleep 50
- send {click up}
- sleep 300
- }
- if (curPos > positions.Length()){
- curPos := 1
- }
- MouseMove, positions[curPos][1], positions[curPos][2]
- curPos++
- return
Advertisement
Add Comment
Please, Sign In to add comment