Adobe InDesign CS4 (6.0) Object Model JS: PreflightProcess

InDesign CS4

Class

PreflightProcess

 An active preflight process.

QuickLinks

getElements, remove, saveReport, toSource, toSpecifier, waitForProcess

Hierarchy

Application
PreflightProcess

Properties

PropertyTypeAccessDescription
aggregatedResultsdescription:String
Array of Ordered array containing label:String
errorInfo:String
errorName:String
Ordered array containing documentName:String
pageNumber:String
profileName:String
Array of Ordered array containing parentNodeID:Long Integer
readonlyThe aggregated results found by the process. Can return: Ordered array containing documentName:String, profileName:String, results:Array of Ordered array containing parentNodeID:Long Integer, errorName:String, pageNumber:String, errorInfo:String, errorDetail:Array of Ordered array containing label:String, description:String.
appliedProfilePreflightProfile readonlyThe preflight profile the process is using.
descriptionstring readonlyThe description of the PreflightProcess.
indexnumber readonlyThe index of the PreflightProcess within its containing object.
isValidbool readonlyReturns true if the object specifier resolves to valid objects.
parentApplication readonlyThe parent of the PreflightProcess (a Application).
processInventorystring readonlyA string containing a description of all elements visited by the process.
processResultsstring readonlyThe results found by the process as a large string.
propertiesObject r/wA property that allows setting of several properties at the same time.
targetObjectDocument readonlyThe target document the process is inspecting.

Methods

Instances

Array of PreflightProcess getElements ()
Resolves the object specifier, creating an array of object references.

void remove ()
Deletes the PreflightProcess.

void saveReport (to: File[, autoOpen: bool=false])
Saves a report of the completed preflight process.

ParameterTypeDescription
toFileThe preflight report to save to.
autoOpenboolIf true, automatically open the report after creation. (Optional) (default: false)

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

string toSpecifier ()
Retrieves the object specifier.

bool waitForProcess ([waitTime: number])
Waits for the process to finish, up to an optional maximum amount of time. No other processes get cycles during this time.

ParameterTypeDescription
waitTimenumberThe maximum time to wait, in seconds; if omitted, waits until completion no matter how long it takes. (Optional)

Element of

Document.activeProcess

Used in:

array of PreflightProcess PreflightProcesses.itemByRange (from: any, to: any)

PreflightProcess PreflightProcesses.nextItem (obj: PreflightProcess)

PreflightProcess PreflightProcesses.previousItem (obj: PreflightProcess)

Return

Array of PreflightProcess PreflightProcess.getElements ()

PreflightProcess PreflightProcesses.[] (index: number)

PreflightProcess PreflightProcesses.add (targetObject: Document, appliedProfile: PreflightProfile[, preflightOptions: PreflightOption][, withProperties: Object])

PreflightProcess PreflightProcesses.anyItem ()

Array of PreflightProcess PreflightProcesses.everyItem ()

PreflightProcess PreflightProcesses.firstItem ()

PreflightProcess PreflightProcesses.item (index: any)

PreflightProcess PreflightProcesses.itemByName (name: string)

Array of PreflightProcess PreflightProcesses.itemByRange (from: any, to: any)

PreflightProcess PreflightProcesses.lastItem ()

PreflightProcess PreflightProcesses.middleItem ()

PreflightProcess PreflightProcesses.nextItem (obj: PreflightProcess)

PreflightProcess PreflightProcesses.previousItem (obj: PreflightProcess)

Jongware, 20-Jun-2010 v3.0.3dContents :: Index