2 Replies Latest reply on Jan 24, 2014 2:46 AM by Yohan828

    Footnote Reference No




      I'm actually working a script (js), which needs to list the position of all footnote reference number found in the document.  To be noted that a paragraph style has been applied on the whole text and the reference number is no more by default in superscript. In fact that's the goal of the script: to convert back the detected reference number to superscript. Does someone have an idea?


      Thanking you in advance

        • 1. Re: Footnote Reference No



          function doReplacement () {

               app.findGrepPreferences = NothingEnum.nothing;

               app.changeGrepPreferences = NothingEnum.nothing;

               app.findChangeGrepOptions.includeFootnotes = false;

               app.findGrepPreferences.findWhat = "~F";

               app.changeGrepPreferences.position = Position.SUPERSCRIPT;




          If you also want to change the position of the reference number inside the footnote, turn the "includeFootnotes" option to true

          • 2. Re: Footnote Reference No
            Yohan828 Level 1

            Thnx LeftHead! That's exactly what the script needs to do! Thnx again