1 Reply Latest reply on Sep 25, 2014 5:55 AM by Drev srl

    applescript resize group

    Drev srl Level 1

      How I can to resize grouped object using absolute dimensions?

      I tried that but I'm newbie into Applescript

       

      tell active document

        tell group items "<gruppo>" of layer 1 of page 1

        set absolute horizontal scale to 55 as real

        end tell

        end tell


        • 1. Re: applescript resize group
          Drev srl Level 1

          Ok, half of the problem is solved with this code:

           

          tell application "Adobe InDesign CS5.5"

            open "Macintosh HD:Users:matteo:Desktop:template.indd"

            tell active document

            tell group "MyGroup"

            set properties to {horizontal scale:50, vertical scale:50}

            end tell

            end tell

          end tell


          Now I like to resize using 4 parameters: X and Y coordinate, width and height in millimiters: How I can do?

           

          Anyone can help me?