Customization > Automation Interface > Functions > Function for Panes > Functions for the Results Pane > GetResultsPaneItem function (automation interface)
GetResultsPaneItem function (automation interface)
Syntax:
GetResultsPaneItem(<pane>, <item number>)
Where:
<pane> is a numeric value that specifies the Results pane to work with - 0 specifies the Results pane, 1 specifies the Results2 pane.
<pane>
<item number> is a numeric value that specifies an item in the list, such as, 0 for the first item, 1 for the second item, and so on.
This function returns the Id of an item in the Results pane or Results2 pane.
Example
In this example, objItem is set to the id of the third item in the Results2 pane.
objItem = Studio.GetResultsPaneItem(1, 2)