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

Adobe stamp Add-On Tool not working in Adobe Pro XI

Explorer ,
Aug 28, 2018 Aug 28, 2018

Copy link to clipboard

Copied

Good morning

I currently have Adobe Pro XI version Adobe 11.0.23 on a Windows 10 Computer

I have created several stamps in the past to place a signature at an indicated place on a document.  I first have the person sign a piece a paper, scan the document into adobe, save it as a .jpg image, then go into paint.net, make background transparent and save as a .gif image.  Then I go back into Adobe, click on the stamp tool, click on custom stamp, create custom stamp, browse for the image, etc.

Then I go find the stamp in adobe in the C drive stamp folder--and using the template feature change the name to a more manageable name with #NameOfStamp

After that, I make a java script file with the following script.

function NameOfFunction(oDoc)


{

var cStampName = "#NameOfStamp";
var oStamp = this.addAnnot ({page:this.pageNum, type:"Stamp",
   AP: cStampName,
  rect:[97.92,170.64,247.68,192.96]});


}
app.addToolButton({cName: "NameOfStamp",
                   cExec: "NameOfStamp(event.target)",
                   cLabel:"NameOfStamp",
 
  cTooltext:"NameOfStamp"});

I then close adobe, open back up--and the stamp is normally loaded under add on tools.

I have tried several times yesterday and today to make a new stamp--and it shows up in stamps--but it will not show up in the add on tools.

We have not yet purchased Adobe DC Pro--as I have a full version of Adobe XI Pro.  I am wondering if this problem is due to Adobe Pro XI not being updated any more?

My other stamps work--but this new one will not show up.  Any suggestions would be GREATLY appreciated!

I currently have version Adobe 11.0.23

Thank you so much in advance for your help!

TOPICS
Acrobat SDK and JavaScript , Windows

Views

1.6K

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 ,
Sep 07, 2018 Sep 07, 2018

Copy link to clipboard

Copied

Are there any other JavaScript toolbar button scripts on this system?

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
Explorer ,
Sep 10, 2018 Sep 10, 2018

Copy link to clipboard

Copied

LATEST

yes.  I have several that are just like this one--they all are showing up.  I created them on a different computer.

This is the first one that I have done since I received this computer--it will not show up on the add-on tool bar.

When installed on other computers, it will show up on those.

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
Community Expert ,
Sep 06, 2018 Sep 06, 2018

Copy link to clipboard

Copied

The error message about the unterminated string literal is not from this code.

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