A client project that is demonstrating a strange behavior when exporting PDFs in Photoshop, I wanted to see if anyone else has come across this.
The tool is opening PSDs (one at a time), updating values, and exporting PDFs from the documents.
In some very rare instances, the automation will break due to the PDF Presentation window dialog appearing, requiring the user to close the window and restart the automation.
For our client this happens very sporadically on:
- Mac OS Sonoma
- Photoshop 26 versions 26.8.1 - 26.11.2
I’ve had them reinstall Photoshop, clear prefs, all that stuff, but it still pops up occasionally with no other documents open and no other 3rd party tools or actions enabled.
We have tested in countless scenarios on our end but cannot replicate the issue.
I’m not sure how this could happen since the tool is calling is the regular “PDFExport” BatchPlay command, while the PDF Presentation dialog is a UXP script made by Adobe that can only be triggered via the File > Automate > PDF Presentation or potentially by a command ID as far as I’m aware, neither of which our tool ever triggers.
PDFExport BatchPlay Example:
{
_obj: "PDFExport",
filesList,
to: {
_path: entryToken,
_kind: "local",
},
includeAnnotations: true,
backgroundColor: {
_enum: "backgroundColor",
_value: "white",
},
as: {
_obj: "photoshopPDFFormat",
pdfPresetFilename: "High Quality Print",
pdfPreserveEditing: true,
pdfCompressionType: 11
},
_options: {
dialogOptions: "dontDisplay",
}
}
Has anyone seen this issue before or have any theories as to why we would be seeing it very sporadically?

