Stimulating key press with javascript under a button in pdf

Avatar

Avatar

arvindkumar7

Avatar

arvindkumar7

arvindkumar7

12-06-2016

Hi All,

Can it be possible to stimulate key press using acrobat javascript  or livecycle javascript @under a button?

For ex. I click a button and that work as Atl + F ( file menu ) or win + R ( run dialog) on windows.

Hope this is clear.

Thanks

Arvind

View Entire Topic

Avatar

Avatar

gkaiseril

Avatar

gkaiseril

gkaiseril

12-06-2016

LiveCycle Designer uses the same JavaScript engine that Acrobat and Reader does when the LiveCycle form is in the PDF format. So as noted in the Acrobat JavaScript form, the JavaScript engine and capabilities. As explained in the Acrobat JavaScript forum, the JavaScript used in Acrobat or Reader is "sandboxed" or very will isolated from your computer's JavaScript program. This has been done to protect users of Acrobat or Reader form the possibility of running malicious code.

It might be possible if you were to write a add-on plugin using a complied computer program and the information supplied in the Acrobat SDK. Then you would need to manually install this program on your system. For others to use the code you would need to register as a developer with Adobe and have each user install the code to their system at their own risk.