Skip to main content
Stephen Marsh
Community Expert
Community Expert
November 23, 2021
Question

PDF Save Option for Multi-Page PDF via makePDFPresentation?

  • November 23, 2021
  • 3 replies
  • 565 views

Is it possible to add PDFFileOptions.PDFSaveOptions to makePDFPresentation? I have tried without success...

 

https://theiviaxx.github.io/photoshop-docs/Photoshop/PresentationOptions.html#presentationoptions

https://theiviaxx.github.io/photoshop-docs/Photoshop/PresentationOptions/PDFFileOptions.html#present...

https://theiviaxx.github.io/photoshop-docs/Photoshop/PDFSaveOptions.html#pdfsaveoptions

 

I have searched the web without finding any actual working code examples, only docs as above. The original topic for reference here:

 

https://community.adobe.com/t5/photoshop-ecosystem-discussions/tiff-to-pdf-converter/td-p/12540527

 
This topic has been closed for replies.

3 replies

Kukurykus
Legend
December 15, 2021
(pdf = new PDFSaveOptions)
.encoding = PDFEncoding.JPEG
optns = new PresentationOptions

function svng(v) {
	pdf.jpegQuality = v, optns.PDFFileOptions = pdf
	makePDFPresentation(Folder(fle = '~/desktop/Fldr/')
	.getFiles(/.psd$/i), File(fle + '/pdf' + v + '.pdf'), optns)
}

svng(0), svng(12)
Stephen Marsh
Community Expert
Community Expert
December 14, 2021

OK, I eventually found some action manager code, I have given up on the DOM code for now. I'd still be interested if somebody can show how to combine both presentation and standard pdf save options using DOM code.

 

Stephen Marsh
Community Expert
Community Expert
November 27, 2021

Anyone?