Delta Posted April 11, 2007 Share Posted April 11, 2007 I'm trying to read the text output from a console application but the values return nothing. Is it even possible? or is there a better way? While 1 $nMsg = GUIGetMsg() $nState = GUICtrlRead($AutoRestart) $nRead = WinGetText("C:\Perl\bin\perl.exe") GUICtrlSetData($Output, $nRead) Select Case $nMsg = $GUI_EVENT_CLOSE Exit Case $nMsg = $Start ShellExecute("C2DTSBOT.pl") Case $nMsg = $Stop ProcessClose("perl.exe") Case $nState = $GUI_CHECKED If ProcessExists("perl.exe") Then ;;; Else ShellExecute("C2DTSBOT.pl") EndIf EndSelect WEnd [size="1"]Please stop confusing "how to" with "how do"[/size] Link to comment Share on other sites More sharing options...
herewasplato Posted April 11, 2007 Share Posted April 11, 2007 http://www.autoitscript.com/forum/index.ph...st&p=133614...perhaps with the "peek" option to avoid the freeze that the OP in the thread had.-MSP- [size="1"][font="Arial"].[u].[/u][/font][/size] Link to comment Share on other sites More sharing options...
jokke Posted April 11, 2007 Share Posted April 11, 2007 Perhaps StderrRead might work. UDF:Crypter a file encrypt / decrypt tool with no need to remember a password again. Based on Caesar cipher using entire ASCII Table.Script's: PixelSearch Helper, quick and simple way to create a PixelSeach.Chatserver - simplified, not so complicated multi-socket server.AutoIT - Firewall, simple example on howto create a firewall with AutoIt. 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