Copy link to clipboard
Copied
Hey, I have learned that Photoshop has a very annoying bug in its "File > Automate > PDF Presentation" tool.
By default, PDF presentation comes with "Advance Every 5 seconds" ON even though you're on the Multi-Page Document part and it's unclickable as it is. This means if you create a PDF without turning it off when you open the PDF in fullscreen mode it will advance every 5 seconds, which causes me problems.
So in order to turn it off you need to Change it to Presentation, uncheck the "Advance Every 5 seconds" and then change back to the Multi-Page Document, if you don't go back then the file will be a presentation and will give out an automatic message on Adobe Acrobat asking to go fullscreen, which also causes problems.
This choice doesn't stick, so every time I have to make a new PDF I always have to click on it again, it has been annoying to keep checking it every time. I was wondering if it's possible to create a script that automatizes the creation of PDFs avoiding this bug.
A script that would ask for the user to select a folder and then it would take all the images inside the folder and turn them into a Multi-Page PDF without the advance every 5 seconds option. Then save the PDF in the same folder that was selected that contained the images. There are also some Compression presets on the PDF section, I usually use "Image Quality" as "Medium", would it be possible to control this through the script?
Is a script like this possible? If it is it would save me a bunch of time having to manually go through this whole process every time and it would also be a workaround to the "bug".
ExtendScript has a dedicated command for PDF presentation. Here is the script.
Copy link to clipboard
Copied
ExtendScript has a dedicated command for PDF presentation. Here is the script.
Copy link to clipboard
Copied
Thank you, this worked!
Copy link to clipboard
Copied
Could be great unless... it tells me "Array is not a function" for some reason... (Windows, PS19).
Could you please help?
Copy link to clipboard
Copied
I tested without error in v2021 and 2024.
Double check that you are copy/pasting from the raw source code:
I also have a script to combine multiple files into a multi-page PDF:
https://community.adobe.com/t5/photoshop-ecosystem-discussions/tiff-to-pdf-converter/td-p/12540527
It currently works for pairs of images, but that could be changed.
Copy link to clipboard
Copied
I have a script here as well (input is a multi-layer file, you would first need to run the "load layers into stack" script):
And one here or files rather than layers: