as a newbie i did lots of search in the sdk and guide before asking this question.
i need acrobat to do events globally irrespective of page based on what key is pressed in certain contexts so it should not interfere with other normal operations.
alternatively, i need three of four modifiers of mouse events but nothing is more convenient on the fingers than pressing a key like y/n for yes/no .
Are there any non-reserved keys or non-reserved clicks events that can be recorded at the global, application or document level, or else be intercepted by a button and then recorded in some kind of file or hidden field for that button and then automatically "recorded or downloaded" into a text file as a data ?
Thanks again for any help.
1 person found this helpful
Gentleman, I posed the question over there, however, you have not indicated what cannot be done. This is because, I have asked for alternative solutions for the accomplishment of my goal such as I have described ...
such as mouse up or down or hover events that can be recognized by certain fields such as buttons.
From one of the posts, I gather that the data can be stored using data objects.
I am sure there have to be some solutions.
Can you indicate how a plugin generally works ?
1 person found this helpful
getchar() / putchar() are C functions and even deprecated in C++ or java where cin / cout are preferred.
[signature deleted by host]
As it has been said, you will need a plug-in for catching arbitrary keypresses. However, there is an additional issue to keep in mind. Single key presses are already used in Acrobat (Reader), namely in the form of the single key accelerators (which are off by default, but may be turned on by your users). In such a case, you will encounter unpredictiable results.
I am the user ... I dont care about accelerator issues ... would be nice to learn how to write a plugin ... just some code in pure C that I can compile using gnu compiler like djgpp to try ................ a complete example would elicit much gratefulness.
please elaborate a little
a concrete and relevant minimal example with some illustrative extensions is worth thousand words of abstract theory and advice ...
I am awaiting your detailed suggestions and some example stanzas.
I have explained my goal and i want to know how to go about
intercepting key presses etc. and when the mode is turned on, it
interprets 2 or 3 keys differently ... or the mouse clicks etc.
Pleez suggest solution details.
Plugins are part of the Acrobat SCK forum.
--------> Plugins are part of the Acrobat SCK forum. <----------
Yeah ... if you visit the SDK forum, a post is there waiting for you
to offer help as a starter stanza ...
Adobe mail to forum system had clipped all the reply