;
; AutoHotkey Version: 1.x
; Language: English
; Platform: Win9x/NT
;
#InstallKeybdHook
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
horiz=1430
vert=600
counter=0
rowcounter=0
loop{
If loopy=D
{
WinWait, Diablo III,
IfWinNotActive, Diablo III, , WinActivate, Diablo III,
WinWaitActive, Diablo III,
rowcounter=0
horiz=1430
vert+=100
counter++
while rowcounter<9
{
MouseClick, right, horiz, vert
Sleep, 1500
horiz+=56
rowcounter++
getkeystate,loopy,CapsLock,t
if loopy=u
{
horiz=1430
vert=600
counter=0
rowcounter=0
break
}
}
}
}