6 Replies Latest reply on Nov 9, 2010 5:04 PM by CaliforniaInDesignUser

    jpegExportRange CS4 VB script


      I have tried unsuccessfully to set the export preferences for InDesign CS4 with the

      jpegExportRanges. Here is what I have in that section of the script:


      Set myInDesign = CreateObject("InDesign.Application.CS4")


      myInDesign.JPEGExportPreferences.pageString = pageNumber

      myInDesign.JPEGExportPreferences.jpegExportRange = ExportRangeOrAllPages.EXPORT_RANGE


      No export JPGs are created. Without the jpegExportRange the images are created (for all pages not a range).

      This all looks correct to me. Any thoughts?