Hallo,
ich habe das kleine Problem, das nur 0en ausgeworfen werden.
Wo liegt mein Problem?
Vielen Dank für Hilfe!
ich habe das kleine Problem, das nur 0en ausgeworfen werden.
Wo liegt mein Problem?
Vielen Dank für Hilfe!
Code:
While 1
$str = InputBox("Letters","Type all Letters")
$string = StringSplit($str,"")
Sleep(3000)
$h = 0
$i = 0
$j = 0
$k = 1
$l = 1
$m = 1
$string[0] = ""
While 1
Send($string[$h] + $string[$i] + $string[$j] + $string[$k] + $string[$l] + $string[$m] + "{ENTER}")
If $m = 6 Then
If $l = 6 Then
If $k = 6 Then
If $j = 6 Then
If $i = 6 Then
If $h = 6 Then
ExitLoop
Else
$h += 1
EndIf
Else
$i += 1
EndIf
Else
$j += 1
EndIf
Else
$k += 1
EndIf
Else
$l += 1
EndIf
Else
$m += 1
EndIf
WEnd
WEnd