Skip to main content
Inspiring
March 2, 2022
Answered

is there anyway to rename Already existing bookmark name in InDesign using Javascript!

  • March 2, 2022
  • 1 reply
  • 391 views

I am trying to rename some bookmark names which were already added to Bookmark panel.

Manually renaming bookmark option is available but i am trying via javascript!

This topic has been closed for replies.
Correct answer Manan Joshi

Bookmark object has a name property that you can set. Something like the following will rename the first bookmark of the document

app.documents[0].bookmarks[0].name = "hello"

-Manan 

1 reply

Manan JoshiCommunity ExpertCorrect answer
Community Expert
March 2, 2022

Bookmark object has a name property that you can set. Something like the following will rename the first bookmark of the document

app.documents[0].bookmarks[0].name = "hello"

-Manan 

Inspiring
March 2, 2022

Thank you Manan!