Quinch Posted yesterday at 12:24 AM Posted yesterday at 12:24 AM I have a maybe-unusual situation I'm trying to script my way around. Here's the scoop; I need to run an executable that outputs to the command window, then after it's done, run another executable that also outputs to a command window. The catch is, neither of those executables exit automatically - each one, once they're done, simply stop at one point, and the indicator where the first of them is done is something along the lines of "connecting to dbserver" or something along those lines, at which point I need to manually close it and start the next one. So, I'm thinking I could try to output the content of each executable to AutoIt's console, then have AutoIt check each second or so for that line, then kill the process and start the next step. Would that work? And if so, first, how do I dump the text to console?
argumentum Posted yesterday at 01:16 AM Posted yesterday at 01:16 AM Try this https://www.autoitscript.com/forum/index.php?showtopic=212643 Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting.
BigDaddyO Posted 18 hours ago Posted 18 hours ago Take a look at the help file for StdoutRead you would need to put in a loop waiting for the output you want before closing the app. SOLVE-SMART 1
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