Jump to content
Sign in to follow this  
killgore

Read user input from command prompt with time limit

Recommended Posts

killgore

Hi,

I've tried to achieve above-mentioned with code from but stumbled upon problems that I mentioned here '?do=embed' frameborder='0' data-embedContent>>

So, has anyone done this? I mean, prompt user for input (like "Please enter your name:"), wait for some time, and move along when there is no input.

And yes, it's a console application.

BTW, it seems very strange that AutoIt has so many advanced functions, but it lacks simple way to read user input from command prompt.

Edited by killgore

Share this post


Link to post
Share on other sites
FireFox

I remember a great UDF written by Mat available here.


 

OS : Win XP SP2 (32 bits) / Win 7 SP1 (64 bits) / Win 8 (64 bits) | Autoit version: latest stable / beta.
Hardware : Intel(R) Core(TM) i5-2400 CPU @ 3.10Ghz / 8 GiB RAM DDR3.

My UDFs : Skype UDF | TrayIconEx UDF | GUI Panel UDF | Excel XML UDF | Is_Pressed_UDF

My Projects : YouTube Multi-downloader | FTP Easy-UP | Lock'n | WinKill | AVICapture | Skype TM | Tap Maker | ShellNew | Scriptner | Const Replacer | FT_Pocket | Chrome theme maker

My Examples : Capture toolIP Camera | Crosshair | Draw Captured Region | Picture Screensaver | Jscreenfix | Drivetemp | Picture viewer

My Snippets : Basic TCP | Systray_GetIconIndex | Intercept End task | Winpcap various | Advanced HotKeySet | Transparent Edit control

 

Share this post


Link to post
Share on other sites
JLogan3o13

You mention you already have a thread going on this subject, and even link to it. So what is the sense in opening a second thread on the same subject? :blink:


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites
killgore

@FireFox

Thank you very much, seems to be what I need. I'll report back if I can make it work the way I want.

@JLogan3o13

Well, it's not the same subject anymore. I started previous thread thinking that I have problems with timerdiff in while loop, and it turned out to be something completely different.

Edited by killgore

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.