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

Synchronous scrolling of two documents side by side

Registered: Aug 29 2011
Posts: 2

I've figured out how to do synchronous scrolling of two documents side by side using Compare with appropriate options. Is there any way to do this without going through Compare (which can take a long time for long documents)?
 
Thanks.

My Product Information:
Acrobat Pro 10.1, Windows
maxwyss
Registered: Jul 25 2006
Posts: 255
There is a JavaScript doc object property named scroll; you may make use of it. It may require some additional programming (to catch the "scroll" on the "master" document to pass it on to the subsequent document. Or you create a "control" document which talks to and controls both documents.

Hope this can help.

Max Wyss.

Registered: Aug 29 2011
Posts: 2
Thanks for your suggestion. Is this documented somewhere? I don't know JavaScript and don't want to have to write code to have do synchronous scrolling of two documents. As I said, I can get there via Compare. I'm just wondering is there another way, within Acrobat as it stands, to do this?


try67
Expert
Registered: Oct 30 2008
Posts: 2398
The answer is no. I'm not even sure this can be done with a script...

- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com

maxwyss
Registered: Jul 25 2006
Posts: 255
It could be emulated by a third document which you would use to control the scrolling. You "attach" the documents to compare to it (you set the connection by getting the doc objects of the attached documents). Then you have buttons to scroll by a certain amount, and you apply that to both documents.

Documentation on how to accomplish it: You might look at the openDoc method, as well as at zoom and scroll entries in the Doc object section of the Acrobat JavaScript documentation.

If you happen to prefer buy over make, feel free to contact me in privateā€¦

Hope this can help.

Max Wyss.