Skip to main content
Known Participant
January 29, 2023
Resuelto

Adobe javascript format

  • January 29, 2023
  • 8 respuestas
  • 1357 visualizaciones

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. 

Este tema ha sido cerrado para respuestas.
Mejor respuesta de 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

 

8 respuestas

try67
Community Expert
Community Expert
January 29, 2023

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

BhuweshAutor
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?