javascript - Custom numerical search in Adobe Acrobat -
i haven been trying figure out how write greater / less custom search in adobe acrobat, can't seem figure out.
i have consulted this, seems apply text search.
i wrote this, didn't work:
search.query(> "1000","activedoc");
i'm not sure i'm doing wrong. can please provide guidance?
thanks.
i able working, though i'd rather able search through numbers (using normal search function) versus having open javascript console answers.
for (var p=0; p<this.numpages; p++) { (var n=0; n<this.getpagenumwords(p); n++) { var w = this.getpagenthword(p, n); if (w >= 10000) { console.println(w); } else if (w <= -10000) { console.println(w); } } }
Comments
Post a Comment