1 Reply Latest reply on Jul 21, 2012 2:44 AM by c.pfaffenbichler

    How to select with ruler mm

    ninja moonlight

      #target photoshop

      app.preferences.rulerUnits = Units.MM;

      var w =  activeDocument.width.value;

      var h =  activeDocument.height.value;

      selReg = [[0,0 ],[0 ,h ],[w ,h ],[w,0 ]];

      activeDocument.selection.select(selReg);

       

      I would like to make a selection with ruler mm.

      But I can't.