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

Multipage PDF Open All

Community Beginner ,
Feb 04, 2021 Feb 04, 2021

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!

TOPICS
Scripting

Views

311

Translate

Translate

Report

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

Copy link to clipboard

Copied

Which version, which system?

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

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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}')

Votes

Translate

Translate

Report

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

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.  

Votes

Translate

Translate

Report

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

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.

Capture pdf to ai.PNG

 

 

Votes

Translate

Translate

Report

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

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. 

Votes

Translate

Translate

Report

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

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.

Votes

Translate

Translate

Report

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

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

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

LATEST

I got the answer from other posts, thanks

Votes

Translate

Translate

Report

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