Cyber Posted January 31, 2008 Share Posted January 31, 2008 From AutoIT help: ... Form2: Compiled.exe [/ErrorStdOut] [params ...] Execute an compiled AutoIt3 Script File produced with Aut2Exe ... I try with: $foo = Run("test.exe /ErrorStdOut") $return ="" While 1 $return &= StdoutRead($foo) If @error Then ExitLoop WEnd MsgBox(0,"",$return) But the return is blank the code test.exe is simple: msgbox(0,) for generate and error Console Browse: Navigate on the WEB in a textual consoleMultiPing!: Show computer on the lan and/or show the local/remote task, ALL animated!KillaWin: Event executingCryptPage: Crypt your webpage and show only with key Link to comment Share on other sites More sharing options...
MHz Posted January 31, 2008 Share Posted January 31, 2008 /ErrorStdOut is suitable for the script to pass STDIO to another process like to a editor like Scite. Scite will accept the STDIO and show it in the output pane. What you can use for your example is the STDIO flag in Run(). StdoutRead() will then capture any ConsoleWrite() usage and display it in your message box. Example: Test.exe contains ConsoleWrite("Hello World" & @CRLF) and thew result tested is --------------------------- --------------------------- Hello World --------------------------- OK --------------------------- Link to comment Share on other sites More sharing options...
Cyber Posted January 31, 2008 Author Share Posted January 31, 2008 Thank you very much!!! Console Browse: Navigate on the WEB in a textual consoleMultiPing!: Show computer on the lan and/or show the local/remote task, ALL animated!KillaWin: Event executingCryptPage: Crypt your webpage and show only with key 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