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

MultiPage pdf across multiple panel guide script

Community Beginner ,
Dec 06, 2023 Dec 06, 2023

I need a script to place multi page pdf onto a guide outlined INDD page.  For instance.  I have label sheet blank, i make the guides to match the labels then run this script that places all the pages in the PDF into the guides for the labels. 

 

The only script i found places them each onto one page.  This won't work for filling out label sheets.  I'm fairly familiar with INDD but i'm not a trained user.

 

Please give me clear step by step instructions.

 

Thank you.

Dan

TOPICS
How to , Import and export , Scripting
633
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 Expert ,
Dec 06, 2023 Dec 06, 2023

If you mean guidelines - it won't help as script won't be able to use them the way you would like.

 

Can you show us your template that you want to populate? Because there are few different ways to achieve what you need...

 

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 ,
Dec 06, 2023 Dec 06, 2023

Any label template from avery would be a good example.  I used 5160.  30 labels.  I placed the guide lines according to the template and then import the PDF multipage, page 1.

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 Expert ,
Dec 06, 2023 Dec 06, 2023

So you need Contact Sheet / Gallery Builder kind of script... 

 

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 ,
Dec 06, 2023 Dec 06, 2023

I have no idea what that is.  Can you explain it step by step ?

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 Expert ,
Dec 06, 2023 Dec 06, 2023

https://creativepro.com/the-ultimate-contact-sheet/

 

But you would need a version that imports pages from the multipage PDF... or... can you prepare your PDF as bunch of single page PDFs? 

 

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 ,
Dec 06, 2023 Dec 06, 2023

No idea what a contact sheet is.

 

Is there a function in INDD that creates (for the lack of better word) panels within guides that can be accessed by the multipagepdf script (modified of course) so that it populates the panels rather than pages ?  I know you can create frames, filled and not, can these be used by the script ?

 

I have done some programming a couple decades back in college but never was good at VBS. 

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 Expert ,
Dec 06, 2023 Dec 06, 2023

If you split - or export your PDF - as single page files - you can follow steps as described in the link I've provided. 

 

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 ,
Dec 06, 2023 Dec 06, 2023

Can that tool place images in guided areas?  or in frames ?

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 Expert ,
Dec 06, 2023 Dec 06, 2023

Have you checked link I've provided?

 

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 ,
Dec 07, 2023 Dec 07, 2023

Briefly.  As i explained i'm fairly new to this and that pages images didn't seem like what i was looking for.  I'm just looking for a script i can run from INDD that fills out the frames or such without all the hassle of a program.

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 Expert ,
Dec 07, 2023 Dec 07, 2023

Then I suggest you should examine this link more closely. 

 

It's a step-by-step guide how to achieve what you want.

 

The only extra step you need to do is to export or split your PDF into single pages. 

 

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 ,
Dec 07, 2023 Dec 07, 2023

Didn't work right as i expected.  It opened a new file and populated them in the row collums in the setup.  But it did not fill out my frames i setup originally.  That is what i want.  I create frames to a template and have the script auto fill it with the images in a file or folder.

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 Expert ,
Dec 07, 2023 Dec 07, 2023

It won't magically recognise your current setup - you need to specify number of cols, rows and spacing. 

 

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 ,
Dec 07, 2023 Dec 07, 2023

I figured out a method that is faster than how i was doing it, but not automated.  I found some info on frames that proved to be perfect for my needs.  I can set frames to scale to fit, fit to bleed or crop marks or media etc.   With one frame i can copy the frame and fill in other areas outlined by my guide lines.  I can even copy multiple frames and do the same.  Then i select all the frames i want to use and open their frame setting to set them up then when i import a multipage file (select "All") i can just click inside each frame and it automatically sets them perfectly for me.  So much easier than completing one image then copy pasting the file link into each frame then relinking them to their proper page number, like i was doing.  I only wish this could be automated fully.  That basic import multipage PDF working on frames rather than pages would likely work but would require rewriting the VBS.

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 Expert ,
Dec 07, 2023 Dec 07, 2023

Yes, importing multipage PDF in one go would be much better - but if you are the maker of the source PDF - why can't you just export it as a separate pages? 

 

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 ,
Dec 07, 2023 Dec 07, 2023

If you mean your way, i did extract to multiple pages using a PDF script i made.  But your way didn't work for me.

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 Expert ,
Dec 07, 2023 Dec 07, 2023

Can you be more specific? What exactly didn't work? Can you post a screenshot? 

 

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 ,
Dec 08, 2023 Dec 08, 2023

I believe i have been specific.  I want the script to fill out frames i have already set just like my latests post on the manual way.

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 Expert ,
Dec 08, 2023 Dec 08, 2023
LATEST

You were not...

 

Attached is MODIFIED version of the script included with InDesign - specifically for AVERY 5160 Labels.

 

I've added 4x lines:

RobertTkaczyk_1-1702068134716.pngexpand image

Document's height and margins are right now "hardcoded" - if you need better precision - or need to use it with different labels, etc - you'll have to change those values, but please remember, that those values are in POINTS.

 

After you download it, you need to save it into Scripts folder:

 

RobertTkaczyk_2-1702068332801.pngexpand image

 

Then remove ".txt" so the final name will be "ImageCatalog_Avery5160.vbs"

 

Then run it like this:

 

RobertTkaczyk_0-1702067989564.pngexpand image

 

"3mm" will be automatically converted to Points.

 

I've also UNCHECKED those pesky chekboxes for "extras" - fitting, remove & labels.

 

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