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!
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.
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?
Doh! It works.. There was a hidden char behind it.
While we are on this topic, the bookmark is linked to a page. Is it also possible to have it jump to a position on that given page. It now happens that the page is shown, but the bookmark itself is outside the scroll box.
Europe, Middle East and Africa