Immensee Posted July 19, 2006 Share Posted July 19, 2006 hey, I've tested the command Run and _RunDOS a few times. Is it possible to get some data from the running program? like: $cmd = RunWait(@ComSpec & " /c " & 'netstat', "", @SW_HIDE) display($cmd) Sleep(2000) Exit Func display($msg) ;; shows the message to the screen ;; code, code... etc. EndFunc This is just an example to understand what i say, but this won't work, because the Run Command returns the exit command from the running program. So is it possible to do something like that? Thanks, -ImMenSe Link to comment Share on other sites More sharing options...
Briegel Posted July 19, 2006 Share Posted July 19, 2006 Try 'StdoutRead' from BETA. Link to comment Share on other sites More sharing options...
Immensee Posted July 20, 2006 Author Share Posted July 20, 2006 Try 'StdoutRead' from BETA.Hey, i've installed it and all, but i can't find StdoutRead.../ -ImMenSe Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted July 20, 2006 Moderators Share Posted July 20, 2006 Hey, i've installed it and all, but i can't find StdoutRead.../ -ImMenSeAlt+F1 for the Beta Help file when you have SciTe open. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
Confuzzled Posted July 24, 2006 Share Posted July 24, 2006 Have you tried piping the output from your program to a text file?NETSTAT > OUTPUTFILE.TXT Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now