Sign in to follow this  
Followers 0
GeekUSA

Sending Key to command prompt?

3 posts in this topic

#1 ·  Posted (edited)

I'm trying to automate the Display Link Clean Wipe utility.  If you open the included .exe it opens a command prompt and requires you to press enter.

This seems like a great tool to automate that process, but I'm confused and can't seem to get it to latch onto the command prompt window that opens.  

How do you send enter to a open command prompt, then auto close it after it runs?

Thanks!

Edited by GeekUSA

Share this post


Link to post
Share on other sites



I am not aware of the utility nor can I find it in a search of the web. That limits my response.

Run() returns a PID that you can use in StdInWrite(). Perhaps writing a @CR to the process may do what you request.

Links

Run()
StdInWrite()

Share this post


Link to post
Share on other sites

Wouldn't this work with a simple...?

ControlSend()

Challenge accepted!

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  
Followers 0