Posts in Category "Acrobat Plug-Ins"

Trapping Keystrokes from an Acrobat Plug-in on Windows

This is a question I get a lot – “How do I prevent certain hotkeys from being issued by the user using the Acrobat SDK?”. Well, quite frankly, the answer is – you don’t. The Acrobat SDK does not provide any mechanism for trapping keys in the Acrobat interface, and these features have been left out for a good reason; your platform APIs already have a mechanism to do this, and they provide much greater control than anything the SDK could provide (which would need to be limited in scope to the active application window). You can use these platform APIs in your plug-ins, using your plug-in as a proxy to these interfaces, and doing whatever you want with the resulting responses from the platform APIs.

Continue reading…