Hi all!
I am in great problem since last couple of days. I tried a lot to save a report as text file using a trustedFunction but it always prompted me NotAllowedError. Kindly help me. my code is as
var myFunc = app.trustedFunction(function()
{
app.beginPriv();
var str = this.pageNum+1;
str +="*"+this.path;
var rep = new Report();
rep.writeText(str);
rep.save("/c/links.txt");
app.endPriv();
});
Kindly help. please...
From the reference file: "A path cannot point to a system critical folder, for example, a root, windows or system directory. A path is also subject to other unspecified tests."
- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com