r0br00ks Posted April 12, 2018 Share Posted April 12, 2018 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 More sharing options...
Developers Jos Posted April 12, 2018 Developers Share Posted April 12, 2018 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 More sharing options...
r0br00ks Posted April 12, 2018 Author Share Posted April 12, 2018 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 More sharing options...
Developers Jos Posted April 12, 2018 Developers Share Posted April 12, 2018 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 More sharing options...
r0br00ks Posted April 12, 2018 Author Share Posted April 12, 2018 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 More sharing options...
Developers Jos Posted April 12, 2018 Developers Share Posted April 12, 2018 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 More sharing options...
r0br00ks Posted April 12, 2018 Author Share Posted April 12, 2018 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 More sharing options...
Developers Jos Posted April 12, 2018 Developers Share Posted April 12, 2018 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 More sharing options...
r0br00ks Posted April 12, 2018 Author Share Posted April 12, 2018 can anyone be little more helpful rather than pointing me to Help which I am obviously reading and going through looking for an answer. Link to comment Share on other sites More sharing options...
Earthshine Posted April 12, 2018 Share Posted April 12, 2018 (edited) so, you want to send a key, right? did you read about the Send function? Edited April 12, 2018 by Earthshine My resources are limited. You must ask the right questions Link to comment Share on other sites More sharing options...
Developers Jos Posted April 12, 2018 Developers Share Posted April 12, 2018 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. Earthshine 1 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 More sharing options...
r0br00ks Posted April 12, 2018 Author Share Posted April 12, 2018 Yes I tried and I have used for other installation, but this one has no title so I cannot use that Send Function. Link to comment Share on other sites More sharing options...
Earthshine Posted April 12, 2018 Share Posted April 12, 2018 without providing a script that we can test, there really isn't much point. My resources are limited. You must ask the right questions Link to comment Share on other sites More sharing options...
r0br00ks Posted April 12, 2018 Author Share Posted April 12, 2018 I was able to resolve the issue. Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted April 12, 2018 Moderators Share Posted April 12, 2018 Perhaps include your resolution, so that others searching in the future can benefit. "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 More sharing options...
r0br00ks Posted April 12, 2018 Author Share Posted April 12, 2018 Sure I used the ControlSend function. Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted April 12, 2018 Moderators Share Posted April 12, 2018 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now