0 Replies Latest reply on May 21, 2014 11:57 PM by Aston Ray

    resizing in adobe indesign through javascript

    Aston Ray

      I have an .indd doc and i am resizing it through below script then exporting it as image, but when i increase the dimensions extra blank spaces are added and when i reduce the dimension image get cropped. How to scale it without croping or without adding extra spaces.


      Please help....



      var myDocument = app.open(File("filename.indd"));


      var myPages = myDocument.pages;







      var myPDFExportPreset = app.pdfExportPresets.item("[Press Quality]");




      ExportFormat.JPG, File(Folder.desktop + "/anchor3.jpg"), myPDFExportPreset);