Customization > Automation Interface > Functions > Function for Panes > Functions for the Results Pane > GetResultsPaneItemCount function (automation interface)
GetResultsPaneItemCount function (automation interface)
Syntax:
GetResultsPaneItemCount(<pane>)
Where:
<pane>
is a numeric value that specifies the Results pane in which to count items - 0 specifies the Results pane, 1 specifies the Results2 pane.
This function returns the number of items in the Results or Results2 pane.
Example
In this example, strCount is set to the number of items in the Results2 pane and the value is displayed in a message box.
strCount = Studio.GetResultsPaneItemCount(1)
Call Msgbox(strCount)