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

Create a toolbar

chaida
Registered: Sep 9 2008
Posts: 34
Answered

There is a method that can create a toolbutton (app.addToolButton). I would like to know if it's possible to create a new toolbar? I haven't find yet how and I'm guessing that Acrobat doesn't allow to create a toolbar but just button.

Am I guessing right?

My Product Information:
Acrobat Standard 9.0, Windows
pddesigner
Registered: Jul 9 2006
Posts: 858
Take a look at the Acrobat SDK (System Development Kit). Go to the Acrobat Knowledge Base and type in keyword SDK. The kit should have the tools for customizing your tool bar.

My favorite quote - "Success is the ability to go from one failure to another with no loss of enthusiasm.

George_Johnson
Expert
Registered: Jul 6 2008
Posts: 1876
> I would like to know if it's possible to create a new toolbar?Sort of. You cannot create a new dockable toolbar. Any toolbar buttons you add using app.addToolbarButton in a folder-level script get added to the Add-on Tools toolbar.

If you execute app.addToolbarButton from code within a file, it will create a non-dockable toolbar that will close when the document that created it is closed. So a particular document can set up its own custom, non-dockable (floating) toolbar.

This is all documented in the Acrobat JavaScript reference, so you don't need to guess.

George