Name Property

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

Description

Returns the name of the text.

Available in Ted and in Fred.

Syntax

object.Name

object

Required. Object name. Returned by Ted.GetActiveTxt, objNode.GetTxt or objArticle.GetTxt(nIdx).

Example

This script displays the text's name.

If Ted.HasActiveTxt Then

 Dim objT = Ted.GetActiveTxt        

 dim strName = objT.Name

 If strName = "" Then

         msgbox ("This text has no name: save it first")

 Else

         msgbox ("The text name is " & strName)

 End If

End If

Context

Text object