1 Reply Latest reply on Jul 2, 2008 9:53 AM by (Dave_Saunders)

    [JS] (CS2) (CS3) Test for container

    CTC Imaging Level 1
      Hello,

      I would like to make sure that whatever I have selected (app.selection) is the container and NOT the content, regardless of what the selection is (Item or Text). I know if you have multiple selections, you can only have objects and that is fine. But what if my selection is a rectangle placed in a textframe within a textframe, how do I reset the selection to be the be the OBJECT which contains all?

      Thank you.