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

Select a tool programmatically

dotnetwiz
Registered: Jun 8 2010
Posts: 57
Answered

Is there a way for my script to programmatically select a tool?

I'd like the Hand tool to be selected by default when my document is loaded.

My Product Information:
Acrobat Pro Extended 9.3.1, Windows
try67
Online
Expert
Registered: Oct 30 2008
Posts: 2399
Yes, but it requires a folder-level script.
Basically you need to call app.execMenuItem("HandMenuItem") , but that needs to be done from a safe context, such as a folder-level script. You can search the forums. This has been discussed several times already.

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

dotnetwiz
Registered: Jun 8 2010
Posts: 57
Many thanks!
I apologize for the repitition. :)