- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Hi,
Would some body help me w/ this error?
NotAllowedError: Security settings prevent access to this property or method.
From these scripts
doc = app.openDoc({ cPath: "/c/temp/doc1/doc1.pdf" })
aFiles = new Array( "doc2.jpg","doc3.pdf");
for (var i=0; i<aFiles.length; i++)
{
newDoc = app.openDoc({ oDoc: doc, cPath: aFiles[i], bUseConv: true })
newDoc.saveAs({ cPath: "/c/temp/empDoc.pdf" });
newDoc.closeDoc(true);
doc.insertPages({ nPage: doc.numPages-1, cPath: "/c/temp/tmpDoc.pdf", nStart: 0 });
}
These scripts worked, but when I replaced my doc1 w/ another pdf file and the security method is set to No Security for this properties and all other document restrictions summary for this are Allowed just like my other pdf files, but for some reason I have the NotAllowedError when I ran the same batch processing script. Help!
Thanks,
Trang
Views
Replies
Total Likes