Hallo,
ich würde gerne den Inhalt des DOS Fenster auslesen.
Leider klappt es mit WinGetText nicht ohne weiteres.
Und mit dem Coder hier von Xenobiologist auch nicht.
[autoit]
Global $text
Global $command = "set"
$stream = Run(@ComSpec & ' /c ' & $command, '', @SW_HIDE, $STDERR_CHILD + $STDOUT_CHILD)
[/autoit][autoit][/autoit][autoit]While 1
$textline = StdoutRead($stream)
$text = $text & @CRLF & $textline
If @error Then ExitLoop
WEnd
MsgBox(0, "STDOUT read:", $text)
[/autoit]Gruß