Unlock Method (Article)

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

Description

Unlocks the article.

The article may remain locked, or in use (checked-out) due to a crash or some other problem.

The function works like Ted.TxtUnlock for the texts - and as TxtUnlock requires Fred to be closed to work.

Available in Ted and Fred.

Syntax

object.Unlock

object

Required. Object name. Returned by Ted.GetActiveArticle.

Example

This script checks the article and displays the result.

  If Ted.HasActiveArticle Then

     Ted.GetActiveArticle.Unlock()

     Ted.GetActiveArticle.Verify()

  End If

Context

Article object