Ich steig einfach nicht dahinter, wie die Fehlermeldung zustande kommt.
Kann mir jemand weiterhelfen?
Spoiler anzeigen
$dll = DllOpen("user32.dll")
$keys = ""
Dim $trans[2][50] = [["20""30","31","32","33","34","35","36","37","38","39","41","42","43","44","45","46","47","48","49","4A","4B","4C","4D","4E","4F","50","51","52","53","54","55","56","57","58","59","5A","60","61","62","63","64","65","66","67","68","69"],[" ","0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9"]]
MsgBox(0,"",$z)
_ArrayDisplay ($trans)
while 1
[/autoit] [autoit][/autoit] [autoit]For $x= 0 to 50
If _IsPressed($trans[1][$x],$dll) Then
$keys &= $trans[2][$x]
EndIf
while _IsPressed($trans[1][$x], $dll)
sleep(1)
next
ToolTip($keys)
WEnd
;~ Fehlermeldung:
;~ G:\Neu AutoIt v3 Script (2).au3 (18) : ==> "Next" statement with no matching "For" statement.:
;~ next