GetCurNode Method (Article)

Build 1501 on 14/Nov/2017  This topic last edited on: 22/Mar/2016, at 17:07

Description

Returns a node object corresponding to the element of the article that is selected in the tree window.

Available in Ted and in Fred.

Syntax

Dim objNode = object.GetCurNode

object

Required. Object name. Returned by Ted.GetActiveArticle.

Example

This script returns the node object.

If Ted.HasActiveArticle Then

 dim objArticle = Ted.GetActiveArticle

 dim objNode = objArticle.GetCurNode

End If

Context

Article object

See also

SelNode, GetRootNode and GetTxtNode, GetParent

GetCurTxtIdx