Get(WindowName)

Category: Get

Syntax: Get ( WindowName )

Parameters: None

Data type returned: Text

Description:

Returns the name of the active window.

The name of a window is the text string that appears in the window's title bar. A window's name can be specified when it is created with the New Window script step. It can also be altered with the Set Window Title script step.

Window names do not need to be unique. If a user manually creates a new window, the name of the new window will be the same as the active window at the time the user selected New Window, but will have a - 2 (or higher number if necessary) appended to it.

Examples:

Function

Results

Get (WindowName)

Returns Contacts if the window being acted upon is named Contacts.

Категории