amakrkr Posted October 26, 2010 Share 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, Link to comment Share on other sites More sharing options...
Somerset Posted October 26, 2010 Share Posted October 26, 2010 ProcessExists look that up in the help file. Link to comment Share on other sites More sharing options...
Richard Robertson Posted October 26, 2010 Share Posted October 26, 2010 WinExists is the only way to handle the message box. Link to comment Share on other sites More sharing options...
engjcowi Posted October 26, 2010 Share 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 Link to comment Share on other sites More sharing options...
jvanegmond Posted October 26, 2010 Share 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 Link to comment Share on other sites More sharing options...
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