Javascript to automate addition of an add-on tool to the toolbar
Hello everyone,
I am a complete beginner in developing Acrobat functionalities. I had this task of adding a button to a toolbar which , on pressing would show a pop-up and I was asked to do this using Javascript. I successfully added the button to the add-on toolbar and found out that this add-on tool could be manually added to the toolbar with the help of customizing of toolbar. But now I am asked if this manual addition of the button to the toolbar could be automated using some script. I went through the Javascript API reference documentation and found that it has the execMenuItem method, but it can execute only specific commands (example: Save As). Could anyone let me know if this automation could be done using Javascript?
( The manual addition I am speaking about is Going to View -> Show/Hide -> Toolbar Items ->Customize Quick tools )
I know that the button can be directly added on to the toolbar using plugins, but that would require development in C++ and we are trying to explore the functionalities that could be achieved using JS scripts
Thanks
