new SmartObjectAction()

Description

Represents an embedded smart object in a Photoshop document.
Learn more: Extract the original content of an embedded Photoshop object

Details

Visit PSDTools for an example

Methods


byIndex( index )

Description

Creates a new instance using the specified number.

Parameters
Name Type Description
index

The number.


getActionTag() → {string}

Description

Returns the custom name tag that was given to this action

Returns

setActionTag() → {this}

Description

Sets the custom name tag for this action

Returns

toString() → {string}

Description

Calls toString() on all child qualifiers (implicitly by using .join()).

Returns
Details

addQualifier( qualifier ) → {this}

Description

Adds the parameter to the action.

Parameters
Name Type Description
qualifier SDK.Qualifier
Returns

addFlag( flag ) → {this}

Description

Adds a flag to the current action.

Parameters
Name Type Description
flag Qualifiers.Flag
Returns
Details

byLayerName( layerName )

Description

Creates an instance using the name.

Parameters
Name Type Description
layerName string

The name of the layer