Avatar

Level 10

Well,

the addMenuItem method it correct, but you cannot use it from inside a PDF.

You have to write a folder level script instead which then is copied into the Javascripts folder of Acrobat or Reader.

After that you have to restart the app to see the new menu item.