GetFocusedWindowName Method

Action2 Example

 

Returns the title of the top most, focused window.

 

Declaration

function GetFocusedWindowName () As Variant

 

Parameters

 None

 

Description

The GetFocusedWindowName method will return the name of the current foreground window (i.e., the title bar text of the window the user is currently working with). This is almost always the top-level window.