These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

modifying acrobat UI

MrRamrod
Registered: Apr 20 2009
Posts: 12
Answered

Hi
I'm new to the forum, and have just started working with acrobat's javascript interface.

Could anyone tell me if there is a way to modify / override the right-mouse context menu that appears in an acrobat document? e.g. if i hover the mouse over some text, one menu item that appears in the context menu is "lookup " - is there a way to hide/remove this?

Perhaps there a way to hide / remove the context menu altogether?
Ultimately i'd like to be able to hide and/or add items to this context menu. Is that even possible?
I can see ways of adding action handlers for field mouseUp events and for document print/open etc. events, but i cant see a hook that gets me the context menu.

Your assistance would be much appreciated.
-r

My Product Information:
Acrobat Standard 8.1, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
That would be a great option if it could be done, but unfortunately Acrobat does not provide that level of control over the UI, with JavaScript or other wise.

Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]

The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/javascript.php]http://www.adobe.com/devnet/acrobat/javascript.php[/url]

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script

MrRamrod
Registered: Apr 20 2009
Posts: 12
thanks Thom.
its a shame you can't get to the context menu at this level.