0 Replies Latest reply on Jan 29, 2010 3:20 AM by Stijn Van Roey

    paste.into

    Stijn Van Roey

      Hello,

       

      does anyone know how to "paste in place" a group into a frame?

      With the local indesign this script works just fine, but it seems that indesign server cannot "copy"/"paste.into"???

       

      Dim myitems As InDesign.Objects = mydoc.AllPageItems

      Dim mygroup As InDesign.Group = mypage.Groups.Add(myitems)

      mygroup.Select()

      myapp.Cut()

      Dim myrect As Rectangle = mypage.Rectangles.Add()

      Dim bounds As Integer() = {0, 0, 297, 210}

      myrect.GeometricBounds = bounds

      myrect.Select()

      myapp.PasteInto()

       

      what is the best way to solve this? I read about duplicating but that seems so complicated...

       

       

      tx