3 Replies Latest reply on May 27, 2014 1:40 AM by hasvi

    correct my MeasurementUnits by script

    hasvi Level 1

      My Indesign file preference properties in inches ('myDocument.viewPreferences.horizontalMeasurementUnits=MeasurementUnits.INCHES;') But I am using point size measurement units for above space adjustment script as like below:

       

       

      if(arrExtraStyles.length!=0)

                            {

                                adjustExtraSpace(4);

                                }

       

      Here I have mentioned 4 points here. I try to assign default this is in point size value as like below but it doesn't work.

       

      ProcessTracking=[4];

      ProcessTracking.pointSize = 4;

      ProcessTracking="0p4";

       

      If my indesign files measurement units in inches, my above process 'adjustExtraSpace' value taking in inches, that means 4 inches, but I have mentioned here 4 points only. how to control it?

       

      by

      hasvi