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

Automating signature into same position on keystroke

New Here ,
Apr 11, 2019 Apr 11, 2019

Copy link to clipboard

Copied

Hello,

Is there a way to automate information onto a page with a button press? I'm familiar with macros and scripts but unfamiliar with Acrobat.

Essentially, 30 times a day I have to open a cost report, sign it with the little signature I created (does not need to be digitial signature, just the one you type in), add the date and send it off. Is this a javascript? An action? etc...I can't find the information anywhere.

Thank you!

TOPICS
Acrobat SDK and JavaScript , Windows

Views

126

Likes

Translate

Translate

Report

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 , Apr 11, 2019 Apr 11, 2019

Yes, you can automate this with Acrobat JavaScript. In a way this is a simple script, but there is a lot around it that is more complicated.

Basically the script needs to

1) Add add fields to the PDF page

2) put data(name and date) into those fields.

The slightly difficult part is determining the location of the field. If it's the same location every time, then you manually place a field and then get it's position from the field's properties dialog. 

The other slight difficulty is creating the UI fo

...

Likes

Translate

Translate
Community Expert ,
Apr 11, 2019 Apr 11, 2019

Copy link to clipboard

Copied

Yes, you can automate this with Acrobat JavaScript. In a way this is a simple script, but there is a lot around it that is more complicated.

Basically the script needs to

1) Add add fields to the PDF page

2) put data(name and date) into those fields.

The slightly difficult part is determining the location of the field. If it's the same location every time, then you manually place a field and then get it's position from the field's properties dialog. 

The other slight difficulty is creating the UI for the automation script. There are three options

1) ToolButton - use the "app.addToolButton()" function

2) Menu item - article below.

3) Command, commands are created from the Action Wizard Panel.

Here are some articles on these topics:

Automating Acrobat can save you loads of time.

PDF Page Coordinates (page size, field placement, etc.)

https://acrobatusers.com/tutorials/add_custom_menu_items

Also, you should consider using a Stamp with your signature image as the signature.

Thom Parker - Software Developer at PDFScripting
Use the Acrobat JavaScript Reference early and often

Likes

Translate

Translate

Report

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
New Here ,
Apr 11, 2019 Apr 11, 2019

Copy link to clipboard

Copied

LATEST

Thank you, this is enough for me to figure it out!

Thanks for the information!

Likes

Translate

Translate

Report

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