dazza Posted February 20, 2008 Posted February 20, 2008 I am chewing through an application using: WinActivate and WinWaitActive, ControlSend and ControlClick at every step yet when an unexpected window pops up--the script freezes until I make the 'expected' window active. Is there a way I can ignore certain windows. To date, I have used a WinExist and a Minimize but this method requires the unexpected window to pop up at a certain time. The window is popping up when it wants. I await pearls of wisdom
MHz Posted February 20, 2008 Posted February 20, 2008 I await pearls of wisdom Until it comes, may I alert you that you do not need to use WinActivate and WinWaitActive when you use Control* functions as active windows are not needed. Only when you use Mouse* functions and the Send function (and any other I may have left out) that active windows are required for successful automation. You may find that in using just WinWait and Control* functions, such issues you mention will no longer happen.
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