in reply to Re^4: automatically giving user input to a command line
in thread automatically giving user input to a command line

then try to use Win32::GuiTest to "interact" with that new command prompt window?

Yes, Win32::GuiTest would be one way to tackle the problem.

Another, potentially easier and yet more powerful way would be Win32::Console. It can do everything that Expect can do and more eg. mouse control.


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

The start of some sanity?

  • Comment on Re^5: automatically giving user input to a command line

Replies are listed 'Best First'.
Re^6: automatically giving user input to a command line
by tfredett (Sexton) on Jun 14, 2012 at 14:44 UTC
    It is indeed inside a windows setting. I am looking into Win32::Console now, as in order to install Expect on my local system at least, I need to get cygwin. And since it is going to be awhile, I might as well start with this.