GetActiveWindow()
Syntax
WindowNumber = GetActiveWindow()
Returns the PB Number of the window which currently has the keyboard focus. A window can be activated (set the focus on it) with the SetActiveWindow() command.
Supported OS
All