Jump to content
Sign in to follow this  
probedrone

Get text from command prompt window

Recommended Posts

I need to run a program from the command prompt, and the program will ask the user for inputs. For example:

do you want to ... (y/n)

do you want to ... (y/n)

do you want to turn autoit on (y/n)

do you want to ... (y/n)

If I want to select yes on the 3rd option and no on the others, how can i grab the text "turn autoit on" from cmd so I can give the right answer.

(The number of questions may differ so I cant just send - n, n, y, n)

AutoIt Window Info cant seem to detect text off the cmd window :whistle:

Share this post


Link to post
Share on other sites

Ive been looking around at stdoutread() but being an AutoIt newb I dont really understand how it works or how to use it. Any help would be great.

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  

×
×
  • Create New...