HeaderEx.
Returns the title of a specified header item.
This method is supported only in scripts for Windows-based applications that use the Open Agent.
GetColumnTitle (itemIndex)
Variable | Description |
---|---|
itemIndex | The index of the item. INTEGER. |
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.
This example returns the column title of the Catalog page of a Windows-based application.
Print(CatalogPage.GetColumnTitle(2)) // Result: // Item Name