Hab mir jetzt sowas geschrieben, meint ihr der ist zuverlässig und nicht auffällig?
PHP Code:
#include "tt6.au3"
; globals
Global $runs = 0
Global $timer = TimerInit()
;create status window and thread
Global $win = GUICreate("Status Window", 200, 100, 5, 5)
GUISetState(@SW_SHOW)
Global $label_stat = GUICtrlCreateLabel("Runs: 000 min: 000 sec: 00", 10, 10)
;enable status window thread
AdlibEnable("status",1000)
Func status()
$time = TimerDiff($timer)
$string = StringFormat("Runs: %03u min: %03u sec: %02u", $runs, $time/1000/60, Mod($time/1000,60))
GUICtrlSetData($label_stat, $string)
EndFunc
;
; Main
;
While True
RndSleep(1000)
ControlClick("Guild Wars","","","left",2,942, 526)
; start again
$runs +=1
RndSleep(183000)
WEnd