Hi Ich hab en Problem und zwar Bräuchte ich hilfe dabei dass mein script nach _IsPressed("0D", $dll)
warte bis die taste losgelassen wird und dann sleep(100) bis sie erneute gedrückt wird und dann fortfährt.
das alles spielt sich in ner schleife ab, ich hab versucht das so zu lösen aber da es until ispressed is wird beim selben tastendruck der sleep beendet :
#Include <Misc.au3>
[/autoit][autoit][/autoit][autoit]HotKeySet("{END}", "Schleife")
HotKeySet("{HOME}", "Close")
While 1
Sleep(100)
WEnd
Func Schleife()
$dll = DllOpen("user32.dll")
While 1
If _IsPressed("41", $dll) Then
Send("y")
EndIf
If _IsPressed("53", $dll) Then
Send("x")
EndIf
If _IsPressed("44", $dll) Then
Send("x")
EndIf
If _IsPressed("0D", $dll) Then
Do
Sleep(100)
Until _IsPressed("0D", $dll)
EndIf
WEnd
EndFunc
Func Close()
Exit 0
EndFunc
Bin Dankbar für jede hilfe..