Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Stimulating key press with javascript under a button in pdf

Participant ,
Jun 12, 2016 Jun 12, 2016

Hi All,

Can it be possible to stimulate key press using acrobat 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

TOPICS
Acrobat SDK and JavaScript
728
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Jun 12, 2016 Jun 12, 2016

No, it's not possible.

Translate
Community Expert ,
Jun 12, 2016 Jun 12, 2016

No, it's not possible.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jun 12, 2016 Jun 12, 2016

Thank you Gilad for you immediate reply. I believe you are right but still wanted to confirm from an expert.

Regards

Arvind

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jun 12, 2016 Jun 12, 2016

Acrobat and Reader are very well isolated from the OS so that rouge code within JavaScript cannot access the OS. This is called "sandboed", just like a child's sandbox does not change the real world.

If you need this, then you will have to create an executable add-in that each user must manually install and accept the risk of the code or program being malicious. You will need a complied computer language and the Acrobat SDK to write the code and register with Adobe to distribute such code.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jun 13, 2016 Jun 13, 2016
LATEST

Thank for this explanation sir.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines