Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Stimulating key press with javascript under a button in pdf

Avatar

Level 3

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

1 Accepted Solution

Avatar

Correct answer by
Level 7

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.

View solution in original post

1 Reply

Avatar

Correct answer by
Level 7

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.