Quantcast
Viewing latest article 47
Browse Latest Browse All 100

Re: Javascript/ Batch Processing - Query (Please assist/advice)

That method overwrites the previous file because what it is doing is only doing this:...

 

if (/orange/i.test(this.documentFileName)) {

 

     this.info.Title = /orange/i.test(this.documentFileName.replace(/\.pdf$/i,""))

 

} else if (/banana/i.test(this.documentFileName)) {

 

   this.info.Title = /banana/i.test(this.documentFileName.replace(/\.pdf$/i,""))

 

}


Viewing latest article 47
Browse Latest Browse All 100

Trending Articles