|
-
April 19th, 2004, 12:46 PM
#1
Can I read the contents of a Console Window that I created?
I'm using a console window to run a command line program. The command line program outputs some text that I want to then read back in whats on the console screen. Sending the output from the console program to a text file is not an option as the console program may need input, or may not, or might pop up a windows style message box, there are too many variables. What I want to do is pretty much select everything within the console (which will always be plain text) and copy it into a text box. Is this possible? I'm creating the console window and have control over it and can interact with it. Is there a buffer I can read form to get what on the screen, like can I read from the screen buffer before its put onto the screen?
Allan.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|