comet.CPublication

class comet.CPublication

Publication or publication document object.

Methods

CPublication.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

CPublication.__repr__()

String representation.

Returns:

<CPublication> Name: Name (Row 1)

ID1: ID1 | ID2: ID2 | ID3: ID3 | StringID: ‘StringID

State: State

Example
<CPublication> Name: Main catalog Plant & Pillow 2024
ID1: 1 | ID2: 0 | ID3: 0 | StringID: '268513913'
State:

Return type:

str