wie die überschrift schon sagt,was ist daran falsch (soll i-wan mal ein fischöffner werden)xD
#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_Res_Language=1031
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
HotKeySet ( "{Numpad7}" , "Start" )
HotKeySet ( "{Numpad8}" , "Ende" )
While (1)
Sleep (1000)
Wend
Func Start ()
While (1)
$coord= PixelSearch (854, 411,1010, 694, 0x970000 )
If @error Then
Sleep (500)
MouseClick("right",$coord[0],$coord[1])
Sleep (500)
EndIf
ExitLoop
Wend
Sleep(2000)
Endfunc
Func Ende ()
Exit
EndFunc
#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_Res_Language=1031
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
HotKeySet ( "{Numpad7}" , "Start" )
HotKeySet ( "{Numpad8}" , "Ende" )
While (1)
Sleep (1000)
Wend
Func Start ()
While (1)
$coord= PixelSearch (854, 411,1010, 694, 0x970000 )
If @error Then
Sleep (500)
MouseClick("right",$coord[0],$coord[1])
Sleep (500)
EndIf
ExitLoop
Wend
Sleep(2000)
Endfunc
Func Ende ()
Exit
EndFunc