Place InDesign File into another Indesign File
Hi All,
I'm trying to place an InDesign file into another Indesign document for resizing purposes. The problem I'm having is specifying the place options. When you place a PDF you can specify PDF place preferences but there doesn't seem to be any INDD place preferences in applescript so I'm unable to specify what page of the document I want to place or the bounding box to use. This looks to be a bit of a dead end in Applescript so I wander if anybody could offer a solution in Extend JavaScript? Below is the applescript code that will allow me to place and InDesign file but does not allow me to specify the page I want to place or bounding box.
set inddFile to choose file of type "IDdC"
tell application "Adobe InDesign CC 2017"
-->I need to be able to set the below option for an INDD file
(*tell PDF place preferences
set page number to 2
set PDF crop to crop trim
end tell*)
set mydoc to active document
set pageFrame to item 1 of (every page item of mydoc whose label is "pageFrame")
tell pageFrame
place inddFile
fit given proportionally
fit given center content
end tell
end tell
Thanks
