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.
- global TypeSize = 40
- global ClassSize = 48
- global X_TypeInitial = 847
- global Y_TypeInitial = 548
- global X_ClassInitial = 855
- global Y_ClassInitial = 593
- global X_RefineAll = 663
- global Y_RefineAll = 502
- global X_1stSlot = 842
- global Y_1stSlot = 620
- global X_TypeCurr = X_TypeInitial
- global Y_TypeCurr = Y_TypeInitial
- global X_ClassCurr = X_ClassInitial
- global Y_ClassCurr = Y_ClassInitial
- RefineOnce(){
- Sleep, 50
- MouseMove ,X_1stSlot,Y_1stSlot
- Sleep, 150
- Send, {RButton}
- Sleep, 50
- MouseMove ,X_RefineAll,Y_RefineAll
- Sleep, 150
- Send, {LButton}
- Sleep, 20
- }
- NextType(){
- X_TypeCurr+= %TypeSize%
- MouseMove ,X_TypeCurr,Y_TypeCurr
- Sleep, 100
- Send, {LButton}
- Sleep, 10
- }
- NextClass(){
- X_ClassCurr+= %ClassSize%
- MouseMove ,X_ClassCurr,Y_ClassCurr
- Sleep, 50
- Send, {LButton}
- Sleep, 10
- }
- ResetType(){
- X_TypeCurr = %X_TypeInitial%
- Y_TypeCurr = %Y_TypeInitial%
- }
- ResetClass(){
- X_ClassCurr = %X_ClassInitial%
- Y_ClassCurr = %Y_ClassInitial%
- Sleep, 20
- MouseMove ,X_ClassCurr,Y_ClassCurr
- Sleep, 20
- Send, {LButton}
- Sleep, 200
- }
- !a::
- Loop, 6{
- Loop, 3{
- RefineOnce()
- Sleep, 200
- NextClass()
- Sleep, 200
- }
- RefineOnce()
- Sleep, 200
- ResetClass()
- Sleep, 200
- NextType()
- Sleep, 200
- }
- reload
- return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement