1. Home
  2. Docs
  3. ezActions
  4. Node Library
  5. Open Document

Open Document

The Open Document node tells Photoshop to open a specific file and bring it to the front of your workspace.

Because this node cannot search for files on its own, it must always be used in combination with a node that provides a file location, such as Select File or For Each.

What it does

  • The “Doer”: This node takes the file location provided by the previous node and executes the Photoshop “Open” command.
  • Active Focus: Once the image is opened, ezActions ensures that this new document automatically becomes your active (front-most) tab in Photoshop. This is crucial because all subsequent editing nodes (like Resize or Smart Object Replace) will only apply their changes to the active document.

How to use it

  1. Placement: Add the node to your canvas.
  2. Connection: Connect its input port (left side) to the output port of your file source (e.g., the Select File node or the “Loop” port of a For Each node).
  3. Continue the chain: Connect its output port (right side) to the first action you want to perform on the image (e.g., a Transform or Save node).

Troubleshooting & Errors

This node relies entirely on the file information it receives.

  • “No file context found” Error: If you run the workflow and this node turns red with this error, it means you forgot to connect a file source (like Select File or For Each) before the Open Document node.
  • Corrupted or Unsupported Files: If the file exists but Photoshop cannot open it (e.g., a broken image or a system file), the workflow will stop and show an “Unsupported format or corrupted” error in the Status Bar.

How can we help?