Jump to content
r0br00ks

CMD Click or Action

Recommended Posts

r0br00ks

Hi,

I have an application which calls cmd and waits for users to press any button to continue.

I tried looking around but most of the answers I found is to create a cmd from scratch.

I would appreciate if anyone can guide me on how to take an action on a cmd pop up from an application.

Share this post


Link to post
Share on other sites
r0br00ks

So I have tried to run an exe which brings up the command line and the waits on a prompt " press any to continue"

I am new to AutoIT and what I have tried so far is using Find Tool if I could get the Visible text then I could pass the send function but it is not seeing any visible text.

I hoping someone has another way of doing this.

Share this post


Link to post
Share on other sites
r0br00ks

Hi Jos,

Thank you for replying but I don't have any script made because I cannot get any information from the cmd prompt when using au3info

I need just a hint on how I can achieve this and I will start working on it.

I still learning with auotIT to do stuff. 

Thank You

Share this post


Link to post
Share on other sites
Jos

Fine, so as stated in my first post: Supply all details and specifics on what you do exactly and avoid this 'an application" but be exact else we're stabbing in the dark.

Jos


SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
r0br00ks

I have a cleanup utility it is an exe file.

When I run the exe file it will bring up command prompt showing 'press any key to continue'

What I want to do is run the exe which I know how to do with AutoIT, but I don't know how to make AuotIT click any key inside the command prompt screen to continue.

Hope this is clear enough.

Share this post


Link to post
Share on other sites
r0br00ks

can anyone be little more helpful rather than pointing me to Help which I am obviously reading and going through looking for an answer.

Share this post


Link to post
Share on other sites
Earthshine
Posted (edited)

so, you want to send a key, right? did you read about the Send function?

Edited by Earthshine

My resources are limited. You must ask the right questions

 

Share this post


Link to post
Share on other sites
Jos

You seriously don't get it ...do you?
You haven't given any information yet and yet expect help.

I am done and leave it to other to start with the guessing game ...

... ah it started already. :)

  • Like 1

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
r0br00ks

Yes I tried and I have used for other installation, but this one has no title so I cannot use that Send Function.

Share this post


Link to post
Share on other sites
Earthshine

without providing a script that we can test, there really isn't much point.


My resources are limited. You must ask the right questions

 

Share this post


Link to post
Share on other sites
r0br00ks

I was able to resolve the issue.

Share this post


Link to post
Share on other sites
JLogan3o13

Perhaps include your resolution, so that others searching in the future can benefit.


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

Share this post


Link to post
Share on other sites
r0br00ks

Sure I used the ControlSend function.

Share this post


Link to post
Share on other sites
JLogan3o13

Glad you got it fixed. In the future, if you would like assistance without the back and forth, hopefully you'll realize we need more information.


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

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

×