1 Reply Latest reply on May 16, 2013 12:03 AM by SuriyaRevathi Rengan

    Spread Extract as JPEG not show image on spread

    Bill joy Level 1

      Hi Experts


      I create Indesign Document(CS5.5) file on MAC OS using script, which contain text and images on spread.

      My file is created sucessfully. Now I exterect spreads as image(JPEG) using script

      #target indesign

      var myDocument =app.activeDocument;







      First time when I start My MAC system it extract spread sucessfully with image data. If I exteract again then exteract image contain only text data and image data is not present.

      If I restart my MAC system then same result(first time present second time not)


      While on window there is no such problem .


      How solve this problem ?



        • 1. Re: Spread Extract as JPEG not show image on spread
          SuriyaRevathi Rengan

          Before you have to export, set ruler orgin to spread orgin............


          var myDocument = app.documents.item(0);



                  //Measurement unit choices are:

                  //* MeasurementUnits.picas

                  //* MeasurementUnits.points

                  //* MeasurementUnits.inches

                  //* MeasurementUnits.inchesDecimal

                  //* MeasurementUnits.millimeters

                  //* MeasurementUnits.centimeters

                  //* MeasurementUnits.ciceros

                  //* MeasurementUnits.agates

                  //* MeasurementUnits.custom

                  //Set horizontal and vertical measurement units to points.

                  horizontalMeasurementUnits = MeasurementUnits.points;

                  verticalMeasurementUnits = MeasurementUnits.points;

          //set ruler origin to page origin

          rulerorigin = ruler origin.spread origin;