10 Replies Latest reply on Dec 10, 2014 5:29 AM by darkkilltec

    Create new Unanchored Frame not working?

    darkkilltec

      Hi everyone.

       

      What i am trying is creating an empty frame for graphics.

      i´m using Extendscript for this purpose. I can create Frames with Graphic. but no empty Frames.

      I Tried following code:

                                               
      frame = doc.NewGraphicObject (Constants.FO_AnchoredFrame, doc.TextSelection);                
      frame = doc.NewGraphicObject (Constants.FO_UnanchoredFrame, doc.TextSelection);                
      frame = doc.NewUnanchoredFrame (doc.TextSelection);
               
      

       

      None of those is creating an empty Frame. I have an unstructered Document but tried this with structered documents too.

      I tried them one by one, and now i am out of options. I don´t have a clue why this is not working.

      I´m using Framemaker 12.

       

      Hope somebody knows what i´m missing.