Does anyone know how to add import options when placing a picture?
I Would like to enable "Apply Photoshop Clippingpath".
Currently I'm using ...
Or is this an application setting?
Thanx for your feedback. It was very usefull.
Here is the code:
var myGraphic = myRectangle.allGraphics;
myGraphic.clippingPath.clippingType = ClippingPathType.PHOTOSHOP_PATH;
It seems that my previous solution results in crashing of Indesign.
Adding this to the beginning of the script instead of my previous solution does the trick:
app.pdfPlacePreferences.pdfCrop = PDFCrop.CROP_ART;
app.epsImportPreferences.epsFrames = true;