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

Dynamic Stamp with auto increment for every next stamp

New Here ,
Apr 11, 2020 Apr 11, 2020

Copy link to clipboard

Copied

Hi, I am trying to develop an incremental dynamic stamp for Adobe Acrobat. I have seen codes of different people from the internet and tried to modify them but they mostly work on the same document. When I stamp, on the next document, they again ask for a starting number and it is of no use for me. Is there anyone who have developed the stamp or can help me understand the way I can do it by myself.

TOPICS
Acrobat SDK and JavaScript

Views

492

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
Community Expert ,
Apr 12, 2020 Apr 12, 2020

Copy link to clipboard

Copied

LATEST

The trick to creating a stamp that presists its value across different documents, or even across Acrobat sessions, is in picking the storage location for the increment value. For example, use the global object accessed from a folder level script, or turn off global object security.  

 

You can read all about how to make this work by buying the book or joining the site here:

https://www.pdfscripting.com/public/All_About_PDF_Stamps.cfm

 

There are also auto-increment stamps available for download at the site.

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

Votes

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