Re: how to convert pixels in mm ?When using UnitValue objects you can have it convert between unit types. This part of the script produces the selection of the pixel size, but calculation was conducted in millimeters.. You can have 1000 pixels and decide whether they print to 1 mm, 1 cm, or 1 meter in length.. app preferences rulerUnits = Units MM;// or any other unit except percentvar rmm = doc..