Royce Posted March 5, 2007 Posted March 5, 2007 Good Morning All, I hope your weekends were good. I can test to see if a window is open using Select Window. However, if the window does not exist, how should I test for that? I could close the window (whether it exists or not) and reopen it, but that seems so non-elegant.... Thanks much, Royce
Inky Phil Posted March 5, 2007 Posted March 5, 2007 I think that you can use a combinaton of the patterncount and the windownames functions to test for the existence of a window. They are both detailed in the online help HTH Phil
Royce Posted March 5, 2007 Author Posted March 5, 2007 Thanks - I shouldn't have been so lazy... It looks like the best ways are using WindowNames or Get(WIndowVisable). Using WIndowNames, you get a whole list of all windows that are open in a file...I can then test those to see if it is open. Thanks for your help. Royce
Recommended Posts
This topic is 6530 days old. Please don't post here. Open a new topic instead.
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