1 Reply Latest reply on May 12, 2008 7:13 PM by (Brett_Elliott)

    groups and tags

      Is there anyone out there that has tried to make indesign float?!

      I hade a great ide of adding groups to a textframe as anchored objects.
      That way every group object will float whitin the textframe.

      Everything works great until a start adding tags to frames within
      the group.

      Indesign makes a message that the frames are untaggable.

      Is there anyway to makes this work??
      One way that I have tried is to add anchored objects in the anchored objects. But that has its limitations when it comes to design.

      Any help would be really great!
      Can groups be replaced width snippets?
        • 1. Re: groups and tags
          Level 1
          Hi David,

          I'm not sure if this is gospel but I have had trouble accessing frames and objects when they are grouped. The only way I can get around this is to access them via the stories, for example I use the script label tags on most frames so:

          var myDoc = app.activeDocument;
          myFrame1 = myDoc.groups.item("Frame1");

          Gets the frame when it's ungrouped via the script label but when it's grouped it doesn't work and I get an object invalid error, so I've tried the following:

          var myDoc = app.activeDocument;
          var myStories = myDoc.stories;
          for (var j = myStories.length - 1; j >= 0; j--) { etc...

          This can access the each frame in turn within a group but it cannot select the frame itself so no much use for some actions, but it works well for things like overset text, changing para properties etc. This makes me think that there is a similar (possible?) limitation to adding tags to grouped items. You could have all items ungrouped (with script labels) when adding tags and then group the lot when tags have been assigned?