Customization > Automation Interface > Functions > Function for Panes > Functions for all panes > SelectBrowserItem function (automation interface)
SelectBrowserItem function (automation interface)
Syntax:
Studio.SelectBrowserItem("<id>","<pane>")
Where:
<id> is a string that specifies the id of the item to select.
<pane> is a string that specifies the name of the explorer type pane, 'Active' for the active pane, or the id of a profile package.
SelectBrowserItem uses the Dictionary Item's Id property to select an item in a specified pane.
Note that if the specified pane is closed, the function shows the pane and finds the item.
Examples
In this example, the script opens Class1 in the Packages pane through its Id:
Set objItem = Dictionary.Item("Class", "Class1")
strItem = objItem.Property("Id")
Call Studio.SelectBrowserItem(strItem, "Packages")