These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Scrolling the document after opening

chaau
Registered: Oct 5 2010
Posts: 2
Answered

Is there a JS command I can use to have Adobe Reader scroll the document by a few inches every time users open the document.
 
I tried to use gotoNamedDest method, but Adobe Reader won't go to the bookmark if it is partially visible on the screen.
 
What we are trying to achieve is to have the documents open with 'fit width' Initial View, and to advance a few inches to the important part of the document, skipping the document header.

My Product Information:
Acrobat Pro
George_Johnson
Expert
Registered: Jul 6 2008
Posts: 1876
See doc.scroll(): http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.525.php

chaau
Registered: Oct 5 2010
Posts: 2
Thanks George, this is exactly what I was looking for
dowillem
Registered: Mar 18 2006
Posts: 6
This was simple to do without Javascript in Ver. 7 and earlier, before Acrobat disabled the range of menu options anyone was able to select for a link, button, bookmark, or page action. Its unfortunate that Adobe forces users to resort to Javascript in lieu of just selecting an existing function from the program as it was in the older versions!

I'm finding it hard to learn how to make code for functions like this - maybe we should all go back to DOS commands instead of point and click. Sorry for venting - I'm really sore at Adobe for removing this functionality from Acrobat.

Don