Skip to main content
Participant
February 4, 2021
Question

Multipage PDF Open All

  • February 4, 2021
  • 2 replies
  • 853 views

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!

This topic has been closed for replies.

2 replies

Inspiring
April 3, 2024

have you solved this issue ?  I also want to open pdf that is contains multiple page , and without prompt of select page.

Anubhav M
Community Manager
Community Manager
April 12, 2024

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

Inspiring
April 12, 2024

I got the answer from other posts, thanks

Monika Gause
Community Expert
Community Expert
February 4, 2021

Which version, which system?

What exactly are you doing and what exactly are you trying to achieve?

Participant
February 4, 2021
I'm trying to open a multipage pdf in illustrator via a script file called
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}')
femkeblanco
Legend
February 5, 2021

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.