Skip to main content
Trevor:
Legend
November 8, 2016
Question

Save initial view navigation tab setting

  • November 8, 2016
  • 10 replies
  • 1593 views

Hi

this.pane = 'Bookmark'; will open the bookmark panel on the open document, however it does not set the initial view navigation tab setting.

So when the document is closed (after saving) it still won't set the document to open with the bookmark tab open.

Is there a way (execMenuItem and messing with the registry?) to do this.

Thanks

Trevor

Would be good to know for both Windows and Mac

This topic has been closed for replies.

10 replies

try67
Community Expert
Community Expert
November 8, 2016

Just embed the code at the document-level. Or better yet, simply set the Initial View setting (under File - Properties) to show the Bookmarks panel.

Trevor:
Trevor:Author
Legend
November 8, 2016

Hi Try

Thanks for your answer.

Can you give a little snippet for what you mean of embedding the code in the document level?

Do you mean including the script in the document so it will run when the document is opened?

If that's the case then the 'opener' will need to have his js set to run which is not necessarily so.

Need to do this with JS and not the UI so unless I misunderstood your second options not god for me.

Regards

Trevor

try67
Community Expert
Community Expert
November 8, 2016

I can explain, but why do you want to do it using JS instead of the built-in option?