hello
sorry for my english ;)
i create an javascript used by my users
This javascript permit an advanced search in our documentation composed by a lot of pdf files.
This javascript load very well in reader 7, 8 and 9.
The javascript create 2 buttons in new toolbar and add a sub menu in Tools menu.
One button is to launch our advanced search and the second button is to launch an pdf document who explain the advanced search.
I have two problems.
First
now in Acrobat Reader X i don't have the Tools menu like file, help.. my personnal menu don't launch. I bypassed this problem by using Help menu to host my submenu. But i don't think it's a good bypass. I prefer create my own menu like Help, File, Edit... Is It possible?
my second problem.
I use app.addToolButton but it doesn't work in reader X, buttons don't launch. I want to know if is it possible to add a button in the tools bar of reader X after other buttons
my script
app.addToolButton({cName "MySearch", cLabel: "My Cie Search", cExec: "mysearchfuntion()" , nPos:-1});
app.addToolButton({cName "Myhelp", cLabel: "Search Help", cExec: "openmyhelp()" , nPos:-1});
app.addSubMenu("MyCieMenu","MyCie","Help",0;
app.addMenuItem("MySearch","My Cie Search","MyCieMenu",0,"mysearchfuntion()" );
thanks for your help
The Quick Tools and system toolbars in Acrobat X / Reader X are not accessible to scripting or plugins, but when you try to add a toolbar button in JavaScript, the UI will place it in a new Pane on the bottom of the Tools Panel instead. A user can choose to drag that button to the Quick Tools area, but you cannot do it for them.