Is there a way to go to a bookmark using javascript?
like: app.gotoBookmark('bookmarkname')
I've found the methods gotoNamedDest(), which only works to go to named destinations defined in the document. I have a document filled with bookmarks (document structure).
Thanks in advance!
Richard
Or perhaps using an annotation: app.gotoAnnotation('name')
Message was edited by: richard7719 added annotation remark
Thank you for the answer! I'm trying this solution using the code found here.
But, the name check does not seem to work.
The condition:
if ( bkm.name == bkmName ) return bkm;
Always returns false. I've tried a couple of things, but it seems the String compare does not work as expected. I've logged the 2 comparing strings to the console and they do match.
Any ideas what's wrong?
North America
Europe, Middle East and Africa
Asia Pacific