karlkar Posted August 28, 2013 Share Posted August 28, 2013 Hello. I have a script that creates new IE window. After loading and some processing, I run a javascript that saves data and closes the window. How can I check if the window is already closed or not? Link to comment Share on other sites More sharing options...
FireFox Posted August 28, 2013 Share Posted August 28, 2013 Hi,Have you tried the WinExists function?Br, FireFox. Link to comment Share on other sites More sharing options...
karlkar Posted August 28, 2013 Author Share Posted August 28, 2013 No, but I want to get this exact window. User can have 99 windows with the same title as the one I want to check if is closed. I must check if my concrete window pointed by $oIE is closed. Link to comment Share on other sites More sharing options...
Solution FireFox Posted August 28, 2013 Solution Share Posted August 28, 2013 If WinExists(_IEPropertyGet($oIE, "hwnd")) Then ... 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