3 Replies Latest reply on Mar 17, 2008 8:29 AM by Peter Kahrel

    Removing footnote

      Hi,

      I tried following code but the footnotes from indesign are not removed
      and Iam getting error

      var myDocument = app.activeDocument;
      var ftcnt = 0;
      for(var s=1; s<=myDocument.stories.count(); s++){
      var st = myDocument.stories[s];
      ftcnt = st.footnotes.count();
      for(vat fn=1; fn <= ftcnt; fn++){
      st.footnotes[fn].remove();
      }
      }