Spike Method (Article)

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

Description

Spikes the article, closing its window.

All the article's text are spiked as well.

Available in Ted and Fred.

Syntax

iError = object.Spike

object

Required. Object name. Returned by Ted.GetActiveArticle.

Example

This script spikes the article and displays the result.

  If Ted.HasActiveArticle Then

    Dim objArticle = Ted.GetActiveArticle

    Dim iError As Integer = objArticle.Spike

    If iError = 0 Then

       MsgBox("Article was spiked.")

    Else

       MsgBox("Article was not spiked.")

    End If

  End If

Context

Article object

See also

ArticleObjSpike (silent spike of an article by its id)