//get page boundries
var rc=this.getPageBox("Crop",0);
//adjust page boundries
rc=[0,rc[1]-18,rc[2],rc[1]-36];
//get document file name
var nm=documentFileName.replace(/.pdf/,"");
//add the field on page 1
var f=this.addField(nm,"text",0,rc)
f.alignment="center"
f.value="Let's discuss this during our next meeting";
f.textSize=12;
(source: https://answers.acrobatusers.com/Add-co ... 36525.aspx)
But, I cannot figure out how to pass the script into Hazel.
Can you guys help me?