Name Property (Article)

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

Description

Returns or set the name of the article.

For new (i.e. not yet saved) articles it returns an empty string.

Available in Ted and Fred.

Syntax

object.Name [=strName]

object

Required. Object name. Returned by Ted.GetActiveArticle.

strName

Optional. Article name. You can set it only for new articles which are not yet saved for the first time

Example

This script displays the article's name.

  If Ted.HasActiveArticle Then

    Dim objArticle = Ted.GetActiveArticle

    Dim strName As String = objArticle.Name

     MsgBox("The article name is " & strName)

  End If

Context

Article object