Hidden Console window & Text input/output
BlitzMax Forums/BlitzMax Programming/Hidden Console window & Text input/output
| ||
Is it possible to start a console application (windows) and hiding it, and also getting any text it outputs? And as if that wasn't enough, is it possible to input any text to it? |
| ||
I seem to have found something relevant over at - http://www.blitzmax.com/Community/posts.php?topic=68847#769756 |
| ||
I can't seem to figure out how to input text or key presses though, any help there? |
| ||
I'm guessing WaitChar or some other way to read keyboard events (your application quietly listening for these events of course), then acting appropriately once they're read. |
| ||
Yes but how would i input it to my TProcess? I'm using Local MyProcess:TProcess = TProcess.Create(AppDir + "\TestConsole.exe", HIDECONSOLE) to launch it, I'm able to read from it but not input anything. |