Hallo ,
ich suche eine Funktion zum Auslesen des Inhaltes eines Dos-Fensters. Mit WinGetText funktioenert es nicht bzw. evtl mach ich was falsch...
Ich habe diesen Script hier probiert, den hab ich hier aus dem Forum, allerdings kommt bei mir einfach ein weißes Fenster und nichts weiter...
[autoit]Global $text Global $command = "set" $stream = Run(@ComSpec & ' /c ' & $command, '', @SW_HIDE, $STDERR_CHILD + $STDOUT_CHILD) While 1 $textline = StdoutRead($stream) $text = $text & @CRLF & $textline If @error Then ExitLoop WEnd MsgBox(0, "STDOUT read:", $text)
[/autoit]Danke schon mal im Voraus.
Grüße
Mix
P.S.: evtl kann einer ein Beispiel posten