Hey es kommt immer der fehler dass in 21,3 EndIf fehlt obwohl sie drinne ist.
Was mache ich falsch?
#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_UseX64=n
#AutoIt3Wrapper_Add_Constants=n
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
HotKeySet("{F1}", "_Start")
HotKeySet("{F2}", "_Stop")
HotKeySet("{F10}", "_drei")
Global $Status = 0
[/autoit][autoit][/autoit][autoit]Func _Start()
Global $Status = 1
EndFunc ;==>_Aktivieren
Func _Stop()
Global $Status = 0
EndFunc
While 1
If $Status = 1 Then
Func _drei()
MouseClick("left" , , , 1)
Sleep(10)
MouseClick("left" , , , 1)
Sleep(10)
MouseClick("left" , , , 1)
Sleep(10)
EndFunc
EndIf
WEnd
Lg