Hmm. Not really. However, most of the ones able to use extended libraries and API calls may be usable to do that. Try googling on how to allow a windows application talk to a console application in a similar fashion. There are bound to be limits though, since you could feed 'known' commands to one, but not respond to prompts or other things that might appear, but are not part of a known set of events. For instance, a console application might let you hit a key to open a file, enter a name, then hit another key to play it once loaded. If the program could not find the file, then a dialog would pop up that you where not expecting and can not either identify or respond to. Unless the console application has a COM interface, talking to it is generally a one way street and you can't see the potholes before hand.
Now, if you really wanted to go nuts, you might capture a link to the console window itself, then manually read the entire screen, to look for prompts or the like at certain steps. However, I am pretty sure their is no direct way to either talk to them or find out what they are doing, unless they are specifically designed to allow it. |