Tree.FindNodeByText

string Tree.FindNodeByText ( 

string ObjectName,

string StartNodeIndex,

string Text )

Example 1

-- Search for the text
NodeFound = Tree.FindNodeByText("Tree1", "Some Item");

-- check if there was a result
if NodeFound == "" then
  -- The node was not found
else
  -- The node was found and its index is stored in NodeFound
end

Searches the "Tree1" tree object for a node with text matching "Some Item".

See also:  Related Actions