Guest Cubitus Posted July 28, 2005 Share Posted July 28, 2005 Hi, seems to be a newbie question but I didn't find anything about it: I use autoit to automate some setup.exes, therefore I work a lot with WinWaitActive. If setup.exe fails somewhere and I have to quit it manually, the autoit script waits forever for the next window. If I use the timeout option, I have to know how long setup.exe needs for every step -> no good. Is there any smart solution to deal with this problem? cubi Link to comment Share on other sites More sharing options...
GaryFrost Posted July 28, 2005 Share Posted July 28, 2005 I suggest using the AdlibEnable and use a function that handles the failure and exits the script. You'll need to post your code if you don't understand how to do this. SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
Guest Cubitus Posted July 28, 2005 Share Posted July 28, 2005 Hi, together with ProcessExists this is exactly what I need! many thanks cubi 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