Action Photoshop
Photoshop Execute (batchPlay)
Executes arbitrary Photoshop batchPlay ActionDescriptor JSON and returns the result. Descriptors can be recorded with the UXP Developer Tools or Alchemist-style batchPlay loggers. Descriptors run inside Photoshop's process; file paths inside them are not checked against the filesystem access policy. If the timeout elapses while Photoshop is still executing, the command keeps running and later commands queue behind it. Secret values resolved into descriptors can appear in Photoshop's plugin console, outside backend redaction.
Node IDPhotoshopBatchPlayAction
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
Descriptors (JSON) descriptors | textarea | Yes | — | A batchPlay ActionDescriptor as JSON - either a single descriptor object or an array of descriptors. |
Timeout (seconds) timeout_seconds | integer | No | 60 | How long to wait for Photoshop to finish before reporting an error. |
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
Execute input0 | object | Yes | — |
Outputs
| Output | Type | Identifier | Description |
|---|---|---|---|
On Success output0 | object | batchplay_result | Fires when Photoshop completes the command; carries the batchPlay result as its data. |
On Error output1 | object | error_message | Fires on missing connection, invalid JSON, timeout, or a Photoshop-side error. |