0 Replies Latest reply on Apr 6, 2014 11:15 AM by MadMac55

    Can I align to nearest left column margin?

    MadMac55 Level 1

      var myDoc = app.activeDocument;

      var mySel = myDoc.selection;

      myDoc.distribute(mySel, DistributeOptions.VERTICAL_SPACE, AlignDistributeBounds.ITEM_BOUNDS);

      app.activeDocument.align (app.selection, AlignOptions.LEFT_EDGES);

      ----replace above line to align to nearest left column margin  (ideally, the script would ask you "which column to align left to" but it's safe to say users can get it close and hit a script to lock it precisely to the column-----

       

      thanks, guys!