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