1 Reply Latest reply on Dec 12, 2011 10:48 AM by JJ0330

    Ungroup all items in Placed Asset.

    JJ0330

      Hi, we have a library of placed assets and those assets can have a lot of items in them such as rectangles, text boxes and so on.  These items are goruped and saved to library so when place on page, we can move all as a group.  Tried to make a group then ungroup but doesn't like.  How can I ungroup something that is already grouped coming in?  This works if items are not grouped. Thanks.

       

      set placedAsset to place asset asset eElement of library "FF1.indl" on mydocument

        tell mydocument

         select placedAsset

         set myGroupTest1 to make group with data {group items:every item of selection}

         tell myGroupTest1

          ungroup

         end tell

        end tell