Skip to main content
Known Participant
January 29, 2023
Answered

Adobe javascript format

  • January 29, 2023
  • 1 reply
  • 1336 views

Hi,

I would like to know how to create a javascript format file which I can save to my Acrobat javascript directory so that I can easily use that option for any pdf with one click. 
I tried it by pasting the script to notpad++ and saving the file as javascript format. When I moved that file inside installed acrobat javascript folder, I cannot able to see any option in my add on section in Acrobat. 

 

 

Thanks in advance for help. 

This topic has been closed for replies.
Correct answer Thom Parker

No. I don't know about addToolButton. I created it from notpad 


Read this (and watch the video):

https://www.pdfscripting.com/public/Automating-Acrobat.cfm

 

1 reply

try67
Community Expert
Community Expert
January 29, 2023

What do you mean by "javascript format file", exactly?

BhuweshAuthor
Known Participant
January 29, 2023

 I want to create a javascript format file like this with the script. So that I can save it in directory and it will appear as add on in pdf. 

try67
Community Expert
Community Expert
January 29, 2023

You need to create a .js file with the addToolButton method of the app object and place it in the application's (or user's) Javascripts folder to achieve that. Is that what you did?