immer wenn ich ein Script laufen habe und nebenbei evlt. mal IE öffnen möchte spinnt meine Tastatur völlig, meistens sind es die Tasten CTRL, Alt und Shift.
Könnte mir evlt. jemand helfen wie ich das Problem löse???
Hier ist das Script (Fürs Spiel NosTale zum Leer- und X-Taste drücken.
Code:
Sleep (2000)
HotKeySet("{END}", "Terminate")
#comments-start
Einfaches Leveln
#comments-end
While 1
ControlSend("NosTale", "", 0, "{Space}")
Sleep(1)
#comments-start
Items aufheben
#comments-end
ControlSend("NosTale", "", 0, "{X}")
Sleep(2)
WEnd
#comments-start
Pause
#comments-end
Func Terminate()
$MB_MsgBoxButtons = 5
$MB_Cancel = 2
If MsgBox($MB_MsgBoxButtons, "Du hast den Bot gestoppt!", "Weiter oder Schließen ?") == $MB_Cancel Then
Exit
EndIf
EndFunc







