Quantcast
Channel: Adobe Community : Popular Discussions - JavaScript
Viewing all articles
Browse latest Browse all 12130

how to store string to text file

$
0
0

Hi All

 

Please find my script coding

 

var s= new Array();

var tPath = fPath.replace(".pdf",".txt")

for (var p = 0; p < this.numPages; p++)

{  

   s.push(this.getPageLabel(p));

}

var allText=s.join("\r");

 

 

I want store the variable "allText" to text file as a log. Please anyone can help in this.

 

Regards

Raj


Viewing all articles
Browse latest Browse all 12130

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>