Advertisement
acroscript

AcrobatUsers.com-q288007

Sep 8th, 2015
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. this.resetForm();
  2. this.syncAnnotScan();
  3. var annots = this.getAnnots({nPage:0});
  4.  
  5. if (annots) {
  6.     for (var i = annots.length - 1; i >= 0; i--) {
  7.         if (annots[i].type == "FileAttachment") {
  8.         annots[i].destroy();
  9.         }
  10.     }
  11. }
  12.  
  13. var f = this.getField("ListBox4");
  14. f.clearItems();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement