r/Diablo • • May 15 '12

Error 300008 Upvote Thread

So close yet so far away!

1.2k Upvotes

443 comments sorted by

View all comments

5

u/naex May 15 '12

So I totally didn't make this AutoIt Script:

Func _WinWaitActivate($name, $other) WinWait($name,$other) If Not WinActive($name,$other) Then WinActivate($name,$other) WinWaitActive($name,$other) EndFunc

func Start() Opt("WinWaitDelay",100) Opt("WinTitleMatchMode",4) Opt("WinDetectHiddenText",1) Opt("MouseCoordMode",0)

HotKeySet("{PAUSE}")
HotKeySet("{PAUSE}","TogglePause")
ToolTip('Diablo 3 Logger Inner Active',0,0)
Sleep(2000)
ToolTip("")
While 1
	_WinWaitActivate("Diablo III","")
	Send("{ENTER}")
	Sleep(Random(47000,50000))
	_WinWaitActivate("Diablo III","")
	Send("{ENTER}")
	Send("{ENTER}")
WEnd

EndFunc

Func TogglePause() ToolTip('Diablo 3 Logger Inner Deactivated',0,0) Sleep(2000) ToolTip("")

HotKeySet("{PAUSE}")
HotKeySet("{PAUSE}","Start")
While 1
	sleep(100)
WEnd

EndFunc

func Quit() Exit EndFunc

HotKeySet("{PAUSE}", "Start") HotKeySet("!{PAUSE}","Quit")

TogglePause()

1

u/[deleted] May 15 '12

way too much work when all you have to do is have a keyboard macro to hit enter a bunch of times. The simplest solution is always best.