Sign in to follow this  
Followers 0

Read text from a console application

3 posts in this topic

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)
        Case $nMsg = $GUI_EVENT_CLOSE
        Case $nMsg = $Start
        Case $nMsg = $Stop
        Case $nState = $GUI_CHECKED
            If ProcessExists("perl.exe") Then

[size="1"]Please stop confusing "how to" with "how do"[/size]

Share this post

Link to post
Share on other sites

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.

Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
Followers 0