Multipage PDF Open All
Copy link to clipboard
Copied
app preferences PDFFileOptions pageToOpen
It only allows you to choose one page but I want to select all. There is an option in the dialog but nothing that I can see in preferences.
Any thoughts? Thanks!
Explore related tutorials & articles
Copy link to clipboard
Copied
Which version, which system?
What exactly are you doing and what exactly are you trying to achieve?
Copy link to clipboard
Copied
via applescript.
If I open the file via normal means I can choose the page I want to open or
All.
But there does not appear to be an option to do this with extendscript. It
only has the option to specify the page number, not all.
app.userInteractionLevel = UserInteractionLevel.DONTDISPLAYALERTS;
app.preferences.PDFFileOptions.pageToOpen = 1; // I Want ALL here.
app.preferences.photoshopFileOptions.preserveLayers = false;
var artwork = new File('${src}')
Copy link to clipboard
Copied
If you know how many pages there are in the PDF, you could iterate thru them, opening each page individually and placing it onto a separate artboard.
Copy link to clipboard
Copied
Bonjour!
J'ai édité un script qui peut charger jusqu'à 100 pages.
exemple guide canon 100 pages en 4.5mn (CS6 100 artBoard maxi)
Avec possibilité de plages ex "1-4,8-10,15" commande prompt()
si intéressé, me contacter.
Copy link to clipboard
Copied
I see, I just have to iteratet the pages and add them to artboards.
I guess I would have to preprocess the pdf to determine if it is a multipage pdf or not.
Copy link to clipboard
Copied
have you solved this issue ? I also want to open pdf that is contains multiple page , and without prompt of select page.
Copy link to clipboard
Copied
Hello @rui huang,
Thanks for reaching out. Would you mind sharing some more details, like the exact version of the OS/Illustrator, and the exact details of your workflow, so we can better assist you?
Looking forward to hearing from you.
Thanks,
Anubhav
Copy link to clipboard
Copied
I got the answer from other posts, thanks

