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

Tausende PDF's mit JavaScript erweitern ?

Community Beginner ,
May 04, 2022 May 04, 2022

Copy link to clipboard

Copied

Hallo zusammen,

wir müssen hier fast 10.000 PDF Dateien mit einem kleinen JavaScript erweitern.

Manuell natürlich kein Problem, jedoch sehr Zeitaufwendig.

Hat jemand eine Idee wie man das voll-/halb Automatisch durchlaufen lassen kann ?

 

TOPICS
Create PDFs , Edit and convert PDFs , JavaScript , PDF forms , Standards and accessibility

Views

1.4K

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 ,
May 04, 2022 May 04, 2022

Copy link to clipboard

Copied

Hi,

What do you mean by "extend"???

If you need to apply a script to all your files, you can write this script in an action wizard, then, when you run this action, you will be able choose all files or indicate a folder containing all these files.

@+

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 Beginner ,
May 04, 2022 May 04, 2022

Copy link to clipboard

Copied

Hallo

wir wollen in 10.000 PDF Dateien ein JavaScript einbauen, welches das Datum aktualisiert.

Ulf

 

 

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 ,
May 04, 2022 May 04, 2022

Copy link to clipboard

Copied

Where is the date in all files? In a field with a common name?

if so, create an action wizard with this script (for the current date):

 

this.getField("theDate").value=util.printd("dd/mm/yyyy",new Date());
this.saveAs(this.path);

 

then double-click the action.

Capture d’écran 2022-05-04 à 16.07.12.png

Click "Add files..." (or "Add folder..." if all files are in the same folder)

Capture d’écran 2022-05-04 à 16.06.57.png

then select the files you need to modify.

Capture d’écran 2022-05-04 à 16.07.36.png

Then click "Start" and wait for processing, that's all...

@+

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 Beginner ,
May 04, 2022 May 04, 2022

Copy link to clipboard

Copied

Es soll in jedem PDF File eine JavaScript zugefügt werden.

Mit dem action wizard muss ich trotzdem bei jeder Datei das manuell reinkopieren.

Kann ich das irgendwo fest hinterlegen, das überall das gleiche JS zugefügt wird??

 

Adobe_JS_zufügen.JPG

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 ,
May 04, 2022 May 04, 2022

Copy link to clipboard

Copied

Want you change the date at document open?

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 Beginner ,
May 04, 2022 May 04, 2022

Copy link to clipboard

Copied

Es soll in jedem PDF File eine JavaScript zugefügt werden.

Mit dem action wizard muss ich trotzdem bei jeder Datei das manuell reinkopieren.

Kann ich das irgendwo fest hinterlegen, das überall das gleiche JS zugefügt wird??

 

Adobe_JS_zufügen.JPG

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 ,
May 05, 2022 May 05, 2022

Copy link to clipboard

Copied

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 Beginner ,
May 05, 2022 May 05, 2022

Copy link to clipboard

Copied

Gibt es dafür ein fertiges Tool ?

 

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 ,
May 05, 2022 May 05, 2022

Copy link to clipboard

Copied

Correct! It is not possible to save with a document level script.

 I don't know what do you want to do with your script. If it's just to change the date and move the file, you can add a document level script for all your files (or a copy) then move them in the needed directory...

@+

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 Beginner ,
May 06, 2022 May 06, 2022

Copy link to clipboard

Copied

LATEST

Automatisches Speichern funktioniert ohne Probleme!

Als Vertrauenswürdige Sites unter Sicherheit dazufügen, fertig.

 

 

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 ,
May 05, 2022 May 05, 2022

Copy link to clipboard

Copied

You can't use this saveAs at document open.

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