Jump to content

CMD Click or Action


Recommended Posts

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.

Link to comment
Share on other sites

  • Developers

Welcome,

What about you start with being a little more concrete about what your are doing exactly and share what you have tried already?

Jos

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

  • Developers

So show us the script you have made and possible also the au3info information of the window you like to click on.

Jos

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • Developers

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 etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

  • Developers

My exact answer to your exact information: Just open the helpfile and start reading. ;)

Have fun reading,
Jos

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

Link to comment
Share on other sites

  • Developers

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. :)

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

Link to comment
Share on other sites

  • Moderators

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.

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...