OK, here's the scenario - there's a home-grown app running which then runs a from-the-factory app. Most of the time, but not always, the second app reaches a point where it pops a message box and asks the user whether or not to continue and the answer is always yes. Question - is there a good way to access the thread/window of the second app and, essentially, hit enter (or Alt-Y) if the prompt appears? The factory says they don't have noninteractive support for this.

I would greatly appreciate any help someone might be able to give.....