Expand my Community achievements bar.

hide navigation pane of adobe reader through scripting

Avatar

Level 1

Hi.. I'm looking for a script to hide the navigation pane of the adobe reader through scripting, is there any way I can achieve that?

my main objective is to restrict user from attaching a file by using navigation pane because I'm already giving buttons to attach a file on the pdf and I want user to attach a file ONLY using buttons on the pdf. Can I achieve this by any other way?

Thanks in advance.

Sunaif

1 Reply

Avatar

Level 10

Hi,

you can hide all panes with this script in the docReady:event.

     event.target.viewState = {overViewMode:1};

More examples:

http://thelivecycle.blogspot.com/2010/04/xfa-form-control-view-settings.html