Adobe InDesign CS5.5 (7.5) Object Model JS: PreflightProcesses

InDesign CS5.5

Class

PreflightProcesses

 A collection of preflight processes.

QuickLinks

[], add, anyItem, count, everyItem, firstItem, item, itemByRange, lastItem, middleItem, nextItem, previousItem, toSource

Properties

PropertyTypeAccessDescription
lengthnumber readonlyThe number of objects in the collection.

Methods

Instances

PreflightProcess [] (index: number)
Returns the PreflightProcess with the specified index.

ParameterTypeDescription
indexnumberThe index.

PreflightProcess add (targetObject: Document, appliedProfile: PreflightProfile[, preflightOptions: PreflightOption][, withProperties: Object])
Adds a new preflight process.

ParameterTypeDescription
targetObjectDocumentThe document the process should inspect.
appliedProfilePreflightProfileThe preflight profile that should be used.
preflightOptionsPreflightOptionThe preflight options that should be used. (Optional)
withPropertiesObjectInitial values for properties of the new PreflightProcess (Optional)

PreflightProcess anyItem ()
Returns any PreflightProcess in the collection.

number count ()
Displays the number of elements in the PreflightProcess.

Array of PreflightProcess everyItem ()
Returns every PreflightProcess in the collection.

PreflightProcess firstItem ()
Returns the first PreflightProcess in the collection.

PreflightProcess item (index: varies)
Returns the PreflightProcess with the specified index or name.

ParameterTypeDescription
indexLong Integer
String
The index or name. Can accept: Long Integer or String.

Array of PreflightProcess itemByRange (from: varies, to: varies)
Returns the PreflightProcesses within the specified range.

ParameterTypeDescription
fromLong Integer
PreflightProcess
String
The PreflightProcess, index, or name at the beginning of the range. Can accept: PreflightProcess, Long Integer or String.
toLong Integer
PreflightProcess
String
The PreflightProcess, index, or name at the end of the range. Can accept: PreflightProcess, Long Integer or String.

PreflightProcess lastItem ()
Returns the last PreflightProcess in the collection.

PreflightProcess middleItem ()
Returns the middle PreflightProcess in the collection.

PreflightProcess nextItem (obj: PreflightProcess)
Returns the PreflightProcess whose index follows the specified PreflightProcess in the collection.

ParameterTypeDescription
objPreflightProcessThe PreflightProcess whose index comes before the desired PreflightProcess.

PreflightProcess previousItem (obj: PreflightProcess)
Returns the PreflightProcess with the index previous to the specified index.

ParameterTypeDescription
objPreflightProcessThe index of the PreflightProcess that follows the desired PreflightProcess.

string toSource ()
Generates a string which, if executed, will return the PreflightProcess.

Element of

Application.preflightProcesses

Jongware, 28-Apr-2012 v3.0.3iContents :: Index