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

Dynamic Stamps Missing

Community Beginner ,
Jun 12, 2017 Jun 12, 2017

I tried modifying the Dynamic file and adding my own dynamic stamp, but now there are absolutely no Dynamic stamps available in the Stamps menu.  I was following a tutorial I found on the web.  How do I at least get my regular Dynamic Stamps back?  There is a Dynamic file in the ENU folder, but it's as if Acrobat doesn't access it.

Thanks!

TOPICS
Acrobat SDK and JavaScript , Windows
2.1K
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 ,
Jun 12, 2017 Jun 12, 2017

In general it is best not to edit the files that come with Acrobat. You may be able to recover the original file from the "Help->Repair Installation" menu item

Now, what specific actions is you apply to the stamp file? please be specific.

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

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 Beginner ,
Jun 12, 2017 Jun 12, 2017

I followed this tutorial...but I couldn't find where Acrobat saved my custom stamp (I'm working with Windows 10, I was on Windows 7 last time I did this (and it worked).  I added my file to the dynamic file that already existed.

https://acrobatusers.com/tutorials/custom_dynamic_stamp

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 ,
Jun 12, 2017 Jun 12, 2017

The intent of that article was to create a new stamp file, not modify the existing Acrobat Dynamic.pdf file. You were only supposed to copy functionality from the Dynamic.pdf file. Because, the act of inserting your page into this file destroys the dynamic stamp info on the file you insert. However, that doesn't explain why Dynamic.pdf stopped working. Something else must have been done to it.

Regardless,  if you used the "Stamp Manager" in Acrobat to create a new stamp, then that stamp will be in a file with a cryptic name, in the "user" stamp folder. To locate this folder, run the following code from the Acrobat Console Window.

app.getPath("user","stamps");

You can find out more info in this AcrobatUsers tutorial:

https://acrobatusers.com/tutorials/dynamic_stamp_secrets

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

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 Beginner ,
Jun 12, 2017 Jun 12, 2017

How might i get to the Acrobat console window?

I was able to recover the Dynamic stamps, thank you.

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 ,
Jun 12, 2017 Jun 12, 2017

It's also called the JavaScript Debugger. You'll find a button for it on the JavaScript pane on the Tools Panel.

It can also be displayed with "Ctrl-J". 

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

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 ,
Jun 12, 2017 Jun 12, 2017

There is a video on this topic here:

https://www.pdfscripting.com/public/images/Free_Videos/BeginJS_Console_Alt_mp4.cfm

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

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 Beginner ,
Jun 12, 2017 Jun 12, 2017

Done and done.  Thanks so much!  I didn't have my hidden folders unhidden and couldn't figure out how to get to it in W10.  I'm good now, thank you!!

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 ,
Jun 12, 2017 Jun 12, 2017
LATEST

I'm glad you were able to deal with it so quickly. A very common issue.  Windows hides a lot of folders and file info that's needed for PDF development.  I usually run into this issue with folder level JavaScript files, because Acrobat hides the ".js" file extension. So it's also a good idea to uncheck "Hide file extensions" in the folder options.

And if you think the issue is answered, then please mark it as so.

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

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