Skip to main content
ulf_7719
Participant
February 4, 2026
Question

2.000 PDF mit Java Script ausstatten

  • February 4, 2026
  • 1 reply
  • 47 views

Hallo zusammen,

ich muss über 2.000 einzelne PDF Dateien mit einem Java Script ausstatten.

Überall soll das gleiche Script rein.

Hat jemand eine Idee wie man das am schnellsten macht, außer alles von Hand einzeln reinkopieren?

 

    1 reply

    try67
    Community Expert
    Community Expert
    February 4, 2026

    You can use the Action Wizard to do it. A script can be used to add a doc-level script to your files.

    You will need to convert your code into a string, though.

    For example:

     

    this.addScript("Load", "app.alert(\"Hello!\");");

    As you can see, the actual code to execute is in the second parameter of the function.

    When you create the Action also make sure to untick the “Prompt User” check-box under the “Execute JavaScript” command, as well as add a Save command after it.

    It should look like this:

     

     

    Then run it on your files, and you’re done!