5 Replies Latest reply on Dec 4, 2015 12:08 PM by wardb16788506

    set level for bookmarks using applescript or javascript

    johnp45247251 Level 1

      hi everyone!


      In my indesign document having 3 paragraphs. And set bookmarks of level one by one to these paragraphs.


      Please anyone can help me?



      tell application "adobe indesign cc 2014"

      tell active document

      set selectItem to item 1 of selection

      set textdestinate to make hyperlink text destination with properties {name: selectItem, destination text:item 1 of selection}

      set BknameInnerItem to make new bookmark with properties {destination:textdestinate}

      end tell

      end tell




      --Then,   how to set bookmark level in the hyperlink text destination properties? Is it possible?