Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
2

PDF Save Option for Multi-Page PDF via makePDFPresentation?

Community Expert ,
Nov 22, 2021 Nov 22, 2021

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

 
TOPICS
Actions and scripting
568
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Community Expert ,
Nov 27, 2021 Nov 27, 2021

Anyone?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 14, 2021 Dec 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.

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Dec 15, 2021 Dec 15, 2021
LATEST
(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)
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines