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

Multipage PDF Open All

Community Beginner ,
Feb 04, 2021 Feb 04, 2021

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!

TOPICS
Scripting
577
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 ,
Feb 04, 2021 Feb 04, 2021

Which version, which system?

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

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 Beginner ,
Feb 04, 2021 Feb 04, 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}')
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
Guide ,
Feb 05, 2021 Feb 05, 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.  

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
Advocate ,
Feb 05, 2021 Feb 05, 2021

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.

Capture pdf to ai.PNGexpand image

 

 

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 Beginner ,
Feb 07, 2021 Feb 07, 2021

 

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. 

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
Participant ,
Apr 02, 2024 Apr 02, 2024

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

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 Employee ,
Apr 12, 2024 Apr 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

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
Participant ,
Apr 12, 2024 Apr 12, 2024
LATEST

I got the answer from other posts, thanks

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