The Client Wishes to Keep the Plug-In they have an only add a Top Level Menu. There are numerous situations where I have seen this behavior.
I believe that if there were some way to get the parent of the top level menus it would be possible.
Does that clear up what I am asking?
While I thank you for responding your remark is not accurate.
There are limits to what can be done.
I'm quite familiar with Acrobat JS and know what I'm talking about... A folder-level script is not a plugin. It's a script that's loaded with the application. You can call it a plugin if you want, but it's not. And it doesn't have the capacity to add a top-level menu, no matter what name you give it.
If you want proof that folder-level scripts are not plugins run this code from the JS console:
It will list all of the plugins in the application. You'll notice that no folder-level scripts are present in this list.
You will need to use the Acrobat SDK to write the plug-in in a compiled computer language not a scripting language and install the complied code in a very specific directory.
A plugin can access the Acrobat/Reader JSO within a PDF.
There is a separate forum here for the Acrobat SDK..
I have written dozens if not hundreds of plug-ins and not just for Acrobat and I have written apps which make use of plug-ins by exposing hooks.. I know where they are published on several platforms.
And no matter what the semantical qualifiers they resolve down to pretty much the same behavior (not the same capabilities)
Basically a plug-in is a script, library or binary that can be loaded loads when the applications loads and is controlled through the application usually through a series of call backs often referred to as hooks and remains active for the life of the session.
I am quite aware of what a plug in is and know that you can do this in C++. It seems quite an omission for the JS API.
I have spent enough time on this, The Top level object is a Menu Bar not a menu.
Thanks for the responses. If anyone wants to follow up email@example.com
Again thanks for the responses.