ps_getState
Retrieves Photoshop document state, including open documents, active document size, resolution, mode, bit depth, path, saved status, layer tree, and active layer for inspection and workflow decisions.
Instructions
Photoshop: open documents and the active document — size, resolution, mode, bit depth, path, saved flag, full layer tree (type/kind, visibility, opacity, blend, bounds, text), active layer.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document | No | Document name; omit for the active document. |