Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

close error message from "other" application

Status
Not open for further replies.

dm7941

Programmer
Sep 8, 2000
125
US
I know there has to be a way. . .

I am activating (using shell) a program that generates an error message on open. The message is non-negotiable. It can not be disabled. If it came up instantly, i could use a sendkeys "{ENTER}" but it has takes up to 40 seconds to appear. I don't really want to put a 40 second delay on a sendkey. . .any sugesstions? Is there any way to check to see if it has appeared and THEN send the close key? Any help would be appreciated.


Dave [sig][/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top