WorkStateId Property

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

Description

Returns the database id of the workstate of the basket the text is in.

Available in Ted and in Fred.

Note: use send methods to change workstate.

Syntax

object.WorkstateId

object

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

Example

This script displays the id of the text's workstate.

If Ted.HasActiveTxt Then

 dim  objT = Ted.GetActiveTxt

 dim id = objT.WorkstateId

 msgbox ("This is id of the text's workstate:" & id)

End If

Context

Text object