Specifies the name of the Window object.
Syntax
object.WindowName [= String]
Properties
The WindowName property syntax has these parts:
Part |
Description |
object |
An object expression that evaluates to an object in the Applies To list. |
String |
The name of the window. |
Remarks
This property stores the string representing the window name which is different than the document name. Window names are useful for managing multiple screens. For example, if you have a main window area and a navigation bar area, and the scripts behind the navigation bar replace whatever picture is in the main window with a specific document, you can use the WindowName property to store the string “main”. This allows all scripts to find the window named main and perform the necessary replace Picture.