Reset popup note location with Javascript
I am running the code below to open every popup note with non-empty content. I would additionally like to reset the popup note location of each note as I open it, so that it does not overlap the content of the PDF but is off to the side in the margin. How can I do this? Thanks in advance.
My code:
this.syncAnnotScan();
annots = this.getAnnots({nSortBy: ANSB_Page});
if (annots) {
for (var i=1; i < annots.length; i++) {
if (annots.contents != "")
annots.popupOpen = true
}
}
