GetColumnTitle Function

Class

HeaderEx.

Action

Returns the title of a specified header item.

Availability

This method is supported only in scripts for Windows-based applications that use the Open Agent.

Syntax

GetColumnTitle (itemIndex)
Variable Description
itemIndex The index of the item. INTEGER.

Notes

The GetColumnTitle method returns the title of the columns heading. If the column with the specified index is not available, GetColumnTitle throws an E_ITEM_INDEX_INVALID exception.

Example

This example returns the column title of the Catalog page of a Windows-based application.

Print(CatalogPage.GetColumnTitle(2))

// Result:
// Item Name