Skip to main content
Inspiring
January 11, 2017
Question

ToolBox items for "Plug-in Add-on Tools" cut off

  • January 11, 2017
  • 3 replies
  • 1098 views

Hi, I'd like to know if it is possible to set the height of the toolbox window; I added some toolbox items to the "Plug-In Add-On Tools" category but the window is too small and some of the tools are cut off. It's possible to scroll but client has understandably asked that it resizes correctly to fit all the tools. Is there a way to ensure the window is always large enough?

This topic has been closed for replies.

3 replies

Inspiring
January 12, 2017

I got a workaround for this which is to collapse the tools menu item before closing acrobat. The next time it is opened the toolbox is large enough.

Just a small question if I may, I'm not sure if it is worthy of another thread.

var aActiveDocs = app.activeDocs;

var aNewDoc = aActiveDocs[0];

I have this issue with getting the current document, it works most of the time but when it does not work aNewDoc is undefined. Is there any reason why it might be returning that? I have scripts in the javascripts folder, is there a better way that I'm unaware to initialize the fields/buttons I use in my plugin?

try67
Community Expert
Community Expert
January 12, 2017

A folder-level script is executed when the application is first launched. At that moment no files are open, even if you opened the application by double-clicking a file, so activeDocs will be empty.

Inspiring
January 12, 2017

makes sense, is there a more reliable way of getting the active doc when it is available?

Inspiring
January 11, 2017

How many tools are there? I'm not aware of any way to control this.

try67
Community Expert
Community Expert
January 11, 2017

The only thing you can do is add line-breaks to make the tooltip window longer.