Copy link to clipboard
Copied
I am trying to reduce sticky notes by 1/2. I researched this on this forum and found the following code.
this.syncAnnotScan();
var annots = this.getAnnots();
if (annots!=null) {
for (var i in annots) {
var annot = annots[i];
if (annot.type=="Text") {
var r = annot.rect;
var width = r[2]-r[0];
var height = r[3]-r[1];
r[2]+=width/2;
r[1]-=height/2;
annot.rect = r;
}
}
}
when i run the code on the console window I get the following error
TypeError: this.syncAnnotScan is not a function
1:Console:Exec
undefined
I am running on chrome...if that has anything to do with the error.
Thanks
Copy link to clipboard
Copied
Use the script in the console of Adobe Acrobat.
Copy link to clipboard
Copied
Bernd, I am running the script in the Adobe Acrobat console.
Thanks
Copy link to clipboard
Copied
Repair the Acrobat installation.