How to Determine if Application Window Still Active

G

Guest

I am launching a CMD window with the Shell command and running a command that
I am building in code. I want to be able to determine if the window is still
active before proceeding. Is there a way to do that?
 
G

Guest

I've implemented a Pause of 10 seconds but many times the window only runs
for a split second and other times it runs much longer. I need to be able to
determine exactly when the window closes to prevent too many windows being
created.
I can capture the number assigned to the window being created but I do not
know how to use that with other Windows commands to test if it is still
open/active.
 
G

Guest

Sorry I did not notice the link in your posting. Will take a look and try it
out. Thanks !
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top