Hello I'm new to scripting and new in ADOBE DC, so far I have understood how to run a code through the console. I have found thanks to By Karl Heinz Kremer this code : for (var p=this.numPages-1; p>=0; p--) { for (var n=0; n<this.getPageNumWords(p); n++) { var theCurrentWord = this.getPageNthWord(p, n); if (theCurrentWord == "9 - 10 ANS") { this.deletePages(p); break; } else if (theCurrentWord == "MOIS") { this.deletePages(p); break; } } } it works very well, but it takes a very long time to run. and I have 7 to 10 more words to loop in the circuit... so it will take longer... Is there any way (code !) to point out where to look for, because my information is always written at the same place (see here below). This would save time, wouldn't it? If anyone can help, I would really appreciate: I have around a 100 files to clean up like that and one file takes 1hour and 40 min if I delete it manually . thanks Stef
... View more