Jump to content
Sign in to follow this  
txj

how to input a string in command prompt window(cmd.exe) ?

Recommended Posts

txj

in AutoIt 3.3.6.1 or later, how to accept user keyboard input in command prompt window(cmd.exe) ?

Edited by txj

Share this post


Link to post
Share on other sites
JohnOne

Not 100% certain what you mean but these may be what you want to be looking at

StderrRead()

StdinWrite()

StdoutRead()

I have seen plenty of examples of these around the forums, as well as the help file.


AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

Share this post


Link to post
Share on other sites
Blue_Drache

what, read keystrokes? Or read what the user typed in?

Terminal windows are difficult (at best) to read, for the most part.

Edited by Blue_Drache

Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache

Share this post


Link to post
Share on other sites
txj

my meaning is:

in AutoIt 3.12.2.1, compile my KeyboardInput.au3 script as console program, in KeyboardInput.au3, function FileOpen("conn", 4) can open console and accept user keyboard input, but in AutoIt 3.3.6.1, FileOpen("conn", 4) is invalid,

my question: who can tell me another way to get user keyboard input at console program ?

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  

×