17 Replies Latest reply on Mar 16, 2016 7:17 AM by Colin Flashman

    Concentrate groupped pageItems by script

    ypsillon

      Hi,
      Every day I’m working with grouped elements which consist of 1 Rectangle and several TextFrames – usually 3.
      I need to change dimension of Rectangle every time but not to ungroup the Objects. So I’m clicking twice on Rectangle, move it and resize. In this case all the TextFrames in group remain sometimes far … far from the Rectangle but there is a need to bring them together again.

      I’m wondering if there is a possibility to write a java script which can concentrate the elements of group by moving TextFrames to the bounds (or origin) of Rectangle.

      I will be very grateful for any idea how to do it or better a pace of Code which will do this annoying and tiring work :-)

      Best regards
      Marcin

       

      A.pngB.png

      C.png