Workstate Script

Build 1501 on 14/Nov/2017  This topic last edited on: 9/May/2012, at 13:05

Description

Returns the workstate id, using the object supplied as parameter.

Syntax

Dim workstateid as Integer = Workstate(obj)

obj

a generic object, that has a workstate attribute. Typically, it's an img object.

Code

  <Extension()> _

  Public Function Workstate(ByVal obj As IGenericAttrObj) As Integer

    Return GetInteger(obj, "workstateRef")

  End Function

See also

Edition Script

Master Script