Why does not the script work
My question, why is the following script not running within the "Additional Metadata"? Entries in the document properties, e.g. Title, author, etc. work with it.
The script:
function CopyrightStatusSetzen(){
var EingabemdCopyrightStatus = app.response({
cQuestion: "Geben Sie die CopyrightStatus ein:",
cCopyrightStatus: "CopyrightStatus eingeben",
cDefault: "1975"});
if(EingabemdCopyrightStatus == null){
}
else
this.info.CopyrightStatus = EingabemdCopyrightStatus;
this.layout = "MultiplePage";
// this.layout = "SinglePage";
}
app.addToolButton({
cName: "SetCopyrightStatus",
cLabel: "CopyrightStatus setzen",
cTooltext: "CopyrightStatus setzen",
cEnable: true,
cExec: "CopyrightStatusSetzen()"});
could someone help me?
System: Windows 7; Acrobat DC
Thank you and best regards
