27 Replies Latest reply on Jul 26, 2016 7:50 AM by Gonterman1201

    Application measurement/unit preferences (picas vs pixels)

    lhanneman Level 1

      Hello,

       

      I need to adjust the geometricbounds of an Image within a rectangle via a JS script. But when I get the Geometric bounds for my image, it is not using the pixels unit for measurement, its using picas. However, if I manually adjust the preferences in my Desktop Indesign to Pixels, the script runs correctly.

       

      How can I change the preferences to "Pixels" from within my script so that I don't have to check manually?

       

      Thanks in advance!!

      Lloyd