amakrkr Posted October 26, 2010 Posted October 26, 2010 Hello, I curently have a script that monitor other application. If it crash it restarts the application ... so far so good. But sometis application hangs with an error MSG box. Now i was wondering if there is a simple way to detect that. I know i could do a search "if win exsist" but i want a better solution. I hope you have an idea how to make this work. Regards,
Somerset Posted October 26, 2010 Posted October 26, 2010 ProcessExists look that up in the help file.
Richard Robertson Posted October 26, 2010 Posted October 26, 2010 WinExists is the only way to handle the message box.
engjcowi Posted October 26, 2010 Posted October 26, 2010 Hi i was wondering if you waould share your script with us. i would be interested in learining how to do it. thanks Drunken Frat-Boy Monkey Garbage
jvanegmond Posted October 26, 2010 Posted October 26, 2010 That depends on the application. If it does something like write a log file every 5 seconds, you can simply check if the application has done its job every 5 seconds by checking if the log file has changed. Otherwise, you'll probably have to write a generic messagebox error handler. github.com/jvanegmond
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