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

JavaScripting

New Here ,
Dec 16, 2020 Dec 16, 2020

Can someone help me develop a javascript that will copy the contents of the device clipboard to a designated form field inside an Adobe Acrobat file?

 

Any help would be greatly appreciated!

 

Neil

TOPICS
JavaScript
612
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
1 ACCEPTED SOLUTION
Community Expert ,
Dec 17, 2020 Dec 17, 2020
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
Community Expert ,
Dec 16, 2020 Dec 16, 2020

Would you mind sharing any code that you've already tried or tested?

 

I'm not sure if this is a deprecated feature in  Acrobat, or not possible,  or if it is not a recommended practice due to security, (but I may be wrong). But you can create a PDF from the content that is already copied to the clipboard with the Acrobat built-in "Create PDF" tool as shown in this short tutorial: Create a PDF from Clipboard Content in Acrobat Pro DC – Instructions 

 

In any case, if were able to achieve this via Acrobat JavaScript, You'll also be limited to work only with the last content that was copied to the clipboard not all of its copied contents. That also may impact how it will interact with the type of field object that you will  copy the clipboard content to.

 

 

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
Community Expert ,
Dec 17, 2020 Dec 17, 2020

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
Community Expert ,
Dec 17, 2020 Dec 17, 2020
LATEST

You cannot paste using JavaScript (security requires).


PDF Acrobatic, InDesigner & Photoshoptographer
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