Results 1 to 7 of 7
  1. #1
    TheDeputy is offline Junior Member
    Join Date
    Dec 2011
    Posts
    3

    Default Change - PlacemultipagePDF script in InDesign CS4

    I have a PDF that has been cropped. I would like to use the Place multi page PDF script to place all pages into InDesign.

    The problem I have is that the script places the the pages into InDesign using the media size and not the cropped size.

    Can anybody help with a solution.

    Thanks in advance.

    TheDeputy

  2. #2
    Stephen Marsh is offline Senior Member
    Join Date
    Apr 2009
    Location
    Sydney, Australia
    Posts
    578

    Default

    You may have more luck if you are Mac based, as then you can use both AppleScripts and JavaScripts... I am pretty sure that one of the scripts below has the option to place via the crop box:

    Prepression: Scripting


    Hope this helps,

    Stephen Marsh

  3. #3
    Al Ferrari is offline Senior Member
    Join Date
    Jan 2008
    Posts
    735

    Default

    I think that the script uses the box last used in the import options dialog .

    You can check that by making a small single page test pdf and placing it in an InDesign page with show import options checked. In the import options dialog select the box you want to use and place the pdf.

    Next delete the placed test pdf, which served the purpose of setting the box choice in the import options dialogue. Now proceed to use the script to place your multipage pdf.

    Let us know if that worked for you.

    Al

  4. #4
    Join Date
    Aug 2007
    Posts
    11

    Default

    This is the line that controls the box that is imported.
    app.pdfPlacePreferences.pdfCrop = PDFCrop.cropMedia; (imports the media box).

    Change this line with the one that fits your needs.

    app.pdfPlacePreferences.pdfCrop = PDFCrop.cropBleed; (imports the bleed box).
    app.pdfPlacePreferences.pdfCrop = PDFCrop.cropTrim; (imports the trim box).

    Hope this helps,
    Tim_B
    Tim Barnes

  5. #5
    Al Ferrari is offline Senior Member
    Join Date
    Jan 2008
    Posts
    735

    Default

    That may well be in some version of the scripts that ship with some version of InDesign.

    But I have Id CS3 and have searched the installed AppleScript "PlaceMultipagePDF.applescript" for the line

    "app.pdfPlacePreferences.pdfCrop = PDFCrop.cropMedia" (copied from your post)

    using TextWrangler but could not find it.

    Which version of ID are you referring to and which script?

    Al
    Last edited by Al Ferrari; 02-08-2012 at 12:49 AM. Reason: script name addition

  6. #6
    Stephen Marsh is offline Senior Member
    Join Date
    Apr 2009
    Location
    Sydney, Australia
    Posts
    578

    Default

    Attached are screen caps of from the AppleScript that I listed earlier:

    place-pdf-1.jpg

    place-pdf-2.jpg

    Stephen Marsh

  7. #7
    Join Date
    Aug 2007
    Posts
    11

    Default

    Al Ferrari,
    The script I was referring to is a javascript PlaceMultipagePDF.jsx and not an applescript.
    Sorry for the confusion.
    Tim
    Tim Barnes


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Sponsors

Esko Sponsored Content