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

Pan & Zoom Window and Loop Tool

wmcuono
Registered: Jun 2 2010
Posts: 10

How can I call the "Pan & Zoom Window" and also the "Loop Tool" using JavaScript???

Many Thanks

try67
Expert
Registered: Oct 30 2008
Posts: 2399
app.execMenuItem()

Use app.listMenuItems to get the correct codes for these two tools.

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

wmcuono
Registered: Jun 2 2010
Posts: 10
app.listMenuItems returns "PanAndZoomMenuItem" and "LoupeMenuItem" but do not work. Others like "SaveAs" and "ZoomTo" do work fine. Using Acrobat 9 Pro, Windows XP.

Thanks
try67
Expert
Registered: Oct 30 2008
Posts: 2399
Both work just fine for me. Which version of Acrobat do you use?

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