Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the unique path to the tree node within the Application Object Tree (AOT).
Syntax
public str treeNodePath()
Run On
Called
Return Value
Type: str
Returns the unique path of the tree node in the AOT.
Examples
The following example finds a TreeNode object of each UtilFileType and prints the path of the UtilFileType to the Infolog.
static void myJob(Args _args)
{
treeNode tn;
tn = treeNode::findNode("\\Forms");
tn = tn.AOTfirstChild();
info(strfmt(
"Path: %1 \nUtilFileType: %2",
tn.treeNodePath(),
tn.AOTUtilFileType()));
tn = treeNode::findNode("\\System Documentation");
tn = tn.AOTfirstChild();
tn = tn.AOTfirstChild();
info(strfmt(
"Path: %1 \nUtilFileType: %2",
tn.treeNodePath(),
tn.AOTUtilFileType()));
tn = treeNode::findNode("\\Application Developer Documentation");
tn = tn.AOTfirstChild();
tn = tn.AOTfirstChild();
info(strfmt(
"Path: %1 \nUtilFileType: %2",
tn.treeNodePath(),
tn.AOTUtilFileType()));
tn = treeNode::findNode("\\Application Documentation");
tn = tn.AOTfirstChild();
tn = tn.AOTfirstChild();
info(strfmt(
"Path: %1 \nUtilFileType: %2",
tn.treeNodePath(),
tn.AOTUtilFileType()));
}