Jump to content

Recommended Posts

Posted

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?

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
  • Recently Browsing   0 members

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