2 Replies Latest reply on Jul 16, 2017 11:19 PM by stutijraj

    Bookmark Generation Crash




      I have used to create Bookmark for all heading levels like (title,h1,h2 and h3). While adding this in a TOCStyle in the Indesign and using CreateTOC, the script crashes due to the Title tag tagged with separate frame.


      Have anyone faced this issue before in creating Bookmark.


      var doc = app.open("bookmark_generation.indd");

      var tocStyle = doc.tocStyles.firstItem();

      var stories = doc.createTOC(tocStyle, true, book, ["1in", "1in"], false);


      Thanks in advance