flynnkei
10-05-2003, 09:46 PM
With the application I am working on, I need to be able to detect and assign a unique window.name.
I am working in SAP's BW Web Reporting Environment. There are a few annoying things that the system does not allow me control over. For example when a 'report' is run for the first time the system opens an IE window with no name. I am able to assign a name using "Window.Name=". However the user is able to open this report multiple times from the menu and I have not worked how I can check if I have another instance of the same report.
For example I would like to get a list of all the IE windows that are running on PC, of for the instance of IE running. Then I could loop through and check for names.
Alternatively using something like "Window.Top" or "Window.Parent" and then finding all the windows that are children to this window would be another way. However I do not see any way of accessing all the children of a window.
Again the trouble is I have no control over the way SAP BW initially opens Windows when reports are started from it's menu. So I cannot keep track of the windows being opened.
Any thoughts?
I am working in SAP's BW Web Reporting Environment. There are a few annoying things that the system does not allow me control over. For example when a 'report' is run for the first time the system opens an IE window with no name. I am able to assign a name using "Window.Name=". However the user is able to open this report multiple times from the menu and I have not worked how I can check if I have another instance of the same report.
For example I would like to get a list of all the IE windows that are running on PC, of for the instance of IE running. Then I could loop through and check for names.
Alternatively using something like "Window.Top" or "Window.Parent" and then finding all the windows that are children to this window would be another way. However I do not see any way of accessing all the children of a window.
Again the trouble is I have no control over the way SAP BW initially opens Windows when reports are started from it's menu. So I cannot keep track of the windows being opened.
Any thoughts?