Quantcast
Viewing all articles
Browse latest Browse all 73766

How to write a text file in Acrobat Javascript?

I am using acrobat XI I have tried output a text file like this

var cMyC ="abc";var doc =this.createDataObject({cName:"test.txt", cValue: cMyC});this.exportDataObject({cName:"test.txt", nLaunch:0});

This is working , but I would like to provided a fixed path and no dialog is popup to request the user choose a saving path

Are there any way to fix the problem? thanks


Viewing all articles
Browse latest Browse all 73766

Trending Articles