Code: Select all
var bezeichnung = this.getField("DESIGNATION");
var nAntwort = app.alert({
cMsg: "Gelesene Bezeichnung zur Speicherung: " + (bezeichnung.value),
cTitle: "Info zur Dateispeicherung",
nType: 1,
nIcon: 2
});
if ( nAntwort == 1 )
// speichern
(
this.saveAs({
cPath: ("/d/xxx/" + bezeichnung.value + ".pdf"),
bPromptToOverwrite: false,
bCopy: false
})
);
(I hope it's not based on my version 8 of PDF..)