Copy link to clipboard
Copied
Hi everyone,
I was wondering if it's possible to extract a page from a pdf and keep the name of the page?
 
As you can see, below each page I have a name for the color. When I extract the page, acrobat safe them with the pdf file name and add a different number at the end.
 Ideally, I would like the first page to be named Cyan:1, the second page Magenta:1, and so on just like in the pdf file. Any idea how to do so?
Copy link to clipboard
Copied
For the first 4 (CMYK) you could even use a small OS script, renaming the first page to Cyan etc. But as the other plates can convey any spot colour or even "vernis", that part can only be automated if you have always the same colours (in the case of a customer having hundreds of files like this). If you want to have a universal solution, you need to hire @try67.
Before that, however, I suggest you look at this: https://community.adobe.com/t5/acrobat-sdk-discussions/js-to-extract-multiple-pages-and-name-as-page...
Copy link to clipboard
Copied
This can be achieved using a script, but not with the built-in Extract Pages command.
Copy link to clipboard
Copied
Hi,
Thank you for the quick answer. Do you happen to know what kind of script it is?
Copy link to clipboard
Copied
Depends on how you want it to work, but it will need to read the page's label first (using getPageLabel) and then extract that page (using extractPages), using that name as the file-name of the new file.
Copy link to clipboard
Copied
Hi again,
I want the main PDF file to be safe into multiple PDF with each having the name they add originally in their page label.
I work in the printing industry and those PDF are the color separation of a job, so let's say I have a 4 colors job, the label is in the main PDF file Cyan:1, Magenta:1, Yellow:1, and Black:1. Right now when I extract the pages all the files have the same name but with a different number and that's not what I want. I want to have four different PDF with one named Cyan:1, the other Magenta:1, and so on.
I don't have any knowledge in javascript so I don't know if you can help me there with how to write the script?
Hope it's clear, if not I'll try to clarify more.
Thanks again for your time and help.
Copy link to clipboard
Copied
If you're interested I could write the script for you, for a small fee. You can contact me privately via [try6767 at gmail.com] to discuss it further.
Copy link to clipboard
Copied
For the first 4 (CMYK) you could even use a small OS script, renaming the first page to Cyan etc. But as the other plates can convey any spot colour or even "vernis", that part can only be automated if you have always the same colours (in the case of a customer having hundreds of files like this). If you want to have a universal solution, you need to hire @try67.
Before that, however, I suggest you look at this: https://community.adobe.com/t5/acrobat-sdk-discussions/js-to-extract-multiple-pages-and-name-as-page...
Copy link to clipboard
Copied
Thank you I'll look into that!
Find more inspiration, events, and resources on the new Adobe Community
Explore Now