GetOutputItemIndex Method (Python)

Returns the index, in the associated output document, of the output item that triggered the current autoscript. The index corresponds to the order of the items in the output document, starting with 0 for the root item.

Syntax

SpssScriptContext.GetOutputItemIndex()