comet.CParameter

class comet.CParameter

Publication parameter

Methods

CParameter.getValue(selector)

Get a value from this object.

Parameters:

selector (int) –

Which value to get.

One of Publication selectors

Returns:

The selected value

Return type:

str | int | bool, depending on the selector

Available:

InDesign® comet_pdf®

CScript:

Special methods

CParameter.__repr__()

String representation.

Returns:

<CParameter> Label: Label | ID: ID | StringID: ‘String ID’ | Type: Type | Value 1: ‘Value 1’ | [Value 2: ‘Value 2’] | [Value 3: ‘Value 3’]

Example
<CParameter> Label: Assortment | ID: 536923206 | StringID: '_assortment' | Type: Text | Value 1: ''

Return type:

str