Ich wollte gerade einen autoit Bot erstellen der immer die taste 4 drückt und dann kam ein error für line 6
was hab ich falsch gemacht?
danke im vorraus
Code:
HotKeySet("{s}", "_StartBot")
HotKeySet("{d}", "_PauseBot")
HotKeySet("{f}", "_EndeBot")
While 1
If $Active = 1 Then
Send ( "4" )
EndIf
WEnd
Func _StartBot()
$Active = 1
EndFunc
Func _PauseBot()
$Active = 0
EndFunc
Func _EndeBot()
Exit
EndFunc
danke im vorraus