2022.2

Table Of Contents
"SelectedState" on
page175
Integer
Returns an integer indicating whether the node is selected or not, taking its parents into account.
0: The node is not selected.
1: The node is selected but one of its parents is not.
2: The node and all of its parents are selected.
Methods
Name
Return
type
Description
"Add(Integer Index)" on page176 Node Adds a new child node to the current node.
"AttributeByIndex(Integer Index)" on page176 String Returns the specified attribute's value.
"AttributeByName(const String Name)" on page177 String Returns the value of the attribute of the specified name.
"Clear()" on page177
Deletes all the child nodes as well as the attributes and
fields.
"Copy() " on page177 Places a copy of the node in the metadata clipboard.
"Cut()" on page177 Removes the node and places it in the metadata clipboard.
"DatapageCount()" on page177 Integer
Returns the total number of datapages present underneath this
node.
"Delete()" on page177 Deletes the node.
"FieldByIndex(Integer Index)" on page178 String Returns the specified field's value.
"FieldByName(const String Name)" on page178 String Returns the value of field of the specified name.
"FieldByNameIndex(const String Name, Integer Index)" on page179 String Returns the value of the N'th field of the specified name.
"IndexInJob()" on page179 Integer
Returns the index of this page in the job, taking all the pages
from all the datapages from all the documents from all the
groups into account.
"Item(Integer Index)" on page180 Node Returns the child (node) item located at the specified index.
Document(Integer Index), see "Item(Integer Index)" on page180 Node Returns the MetaDocument at the specified index.
"PageCount()" on page180 Integer
Returns the total number of pages present underneath this
node.
"Paste()" on page180 Node
Inserts the clipboard's content as the last child of the current
node.
"PasteAt(Integer Index)" on page181 Node
Inserts the clipboard's content as a child node at the spe-
cified index.
"Select(TSelectWhat SelectWhat)" on page181
Selects the child nodes according to the SelectWhat para-
meter.
The TSelectWhat type is not defined in an Active Script envir-
onment, such as the Run Script task. See the detailed ref-
erence for the numerical values to use.
"SelectedDatapageCount()" on page181 Integer
Returns the number of datapages selected to be output that
are underneath this node.
"SelectedPageCount()" on page183 Integer
Returns the number of pages selected to be output that are
underneath this node.
Page 167