app.listToolbarButtons() method in Acrobat X

The method app.listToolbarButtons() does not work in Acrobat X.

To test, try to execute this in the JS console. It shows No output.
If Adobe has discontinued this function in X, then it should have produced a "Function Not defined" output, but it does not say this.

However, it also does not return anything.

Is there a security or other option I need to enable or set..

Does anybody know anything about this.

Thanks
Vinay


Vinay Kumar


Voted Best Answer

There's a very good reason for Acrobat X not responding with the tool buttons. First, and most important, Acrobat X destroyed the old toolbar concept. In fact, Acrobat X has a completely different UI, and by completely different I don't mean that they rearranged things, I mean they rebuilt the UI from scratch using a completly different technology. So, this new UI pretty much breaks all the old JS UI fucntions. It was Adobe's decission to not update the toolbar functions (includeing the app.hideToolbarButton()) to work with the new Panels and tool butttons. After all, what could you possible want to do with it that they haven't already thought of? Don't worry aobut it. They'll decide what's important for you.


By Thom Parker   


Please specify a reason: