self
object property WINDOW , used only in scripts. Returns a link to the current window for working with its properties, methods, events and collections.
self
For example, display the name of the current window:
alert (self.name)