I have learned how to use FindWindow to detect if a window is open, but I need to be able to detect if a window is open that contains a string I pass in.
I need to know if a specific site is open in Internet Explorer and I will know what the title will be but I do not want to have to search for the whole string.
For Example, I want to get the handle for an IE window whose title contains "Example Title". The whole title may be "This is an Example Title - Microsoft Internet Explorer" but I only want to pass it a partial title.
Is this possible? If so I could use some guidance on how to get the handle for the window I'm looking for. I know there will only be 1 window which contains the partial title I am looking for.
Thanks in advance.
I need to know if a specific site is open in Internet Explorer and I will know what the title will be but I do not want to have to search for the whole string.
For Example, I want to get the handle for an IE window whose title contains "Example Title". The whole title may be "This is an Example Title - Microsoft Internet Explorer" but I only want to pass it a partial title.
Is this possible? If so I could use some guidance on how to get the handle for the window I'm looking for. I know there will only be 1 window which contains the partial title I am looking for.
Thanks in advance.