Namespace: DuPSDoc

DuPSDoc

Photoshop Document methods

Methods

staticDuPSDoc.embedLinkedLayers()

D:/DEV_SRC/RxOT/DuPSF/tools/output/DuPSF.jsxinc, line 14154
Imports (embed) all linked smart objects in the active document

staticDuPSDoc.flattenAdjustmentLayers()

D:/DEV_SRC/RxOT/DuPSF/tools/output/DuPSF.jsxinc, line 14224
Flattens all adjustment layers in the active document, without changing the appearance of the document.

staticDuPSDoc.getActiveDoc(){Document|null}

D:/DEV_SRC/RxOT/DuPSF/tools/output/DuPSF.jsxinc, line 14120
Gets the active document if any, without throwing any error if there isn't.
Returns:
Type Description
Document | null The document

staticDuPSDoc.getProperty(propertyName){any}

D:/DEV_SRC/RxOT/DuPSF/tools/output/DuPSF.jsxinc, line 14131
Returns a property from the active document (using the ActionManager)
Name Type Description
propertyName string The name of the property
Returns:
Type Description
any The value

staticDuPSDoc.numLayers(){int}

D:/DEV_SRC/RxOT/DuPSF/tools/output/DuPSF.jsxinc, line 14146
Gets the total number of layers in the document
Returns:
Type Description
int The number of layers

staticDuPSDoc.rasterize3DLayers()

D:/DEV_SRC/RxOT/DuPSF/tools/output/DuPSF.jsxinc, line 14210
Rasterizes all 3D layers in the active document

staticDuPSDoc.rasterizeShapeLayers()

D:/DEV_SRC/RxOT/DuPSF/tools/output/DuPSF.jsxinc, line 14182
Rasterizes all shape layers in the active document

staticDuPSDoc.rasterizeSmartObjects()

D:/DEV_SRC/RxOT/DuPSF/tools/output/DuPSF.jsxinc, line 14168
Rasterizes all smart objects in the active document

staticDuPSDoc.rasterizeTextLayers()

D:/DEV_SRC/RxOT/DuPSF/tools/output/DuPSF.jsxinc, line 14196
Rasterizes all text layers in the active document