Description
Returns a text object, belonging to the node.
Available in Ted and in Fred.
Syntax
dim objT = object.GetTxt |
object
Required. Object name. Returned by the GetRootNode, GetCurNode, GetTxtNode, GetParent, GetChild functions of the object, returned by Ted.GetActiveArticle.
Example
This script returns the name of the text, belonging to the node.
If Ted.HasActiveArticle Then
dim objA = Ted.GetActiveArticle
dim objN = objA.GetCurNode
If objN.HasTxt Then
dim objT = objN.GetTxt
msgbox (objT.Name)
End If
End If
Context
Node object
See also