Tree.FindNodeByText

string Tree.FindNodeByText ( 

string ObjectName,

string StartNodeIndex,

string Text )

Description

Searches the tree for a node based on specified text.

Parameters

ObjectName

(string) The name of the tree object.

StartNodeIndex

The index of the node whose first child will be the starting point for the search.

Tip: Use an index of "0" to reference the root-level nodes.

Text

(string) The text to find.

Returns

(string) A string containing the NodeIndex if a matching node is found. If no matching node is found, or an error occurs, a blank string "" is returned. You can use Application.GetLastError to determine whether this action failed, and why.

ResultVariable

When adding an action with the script editor, you can use this field to specify a variable that the return value will be stored in.

See also:  Related Actions