JavaScript console not allowing app.openDoc
I'm using Adobe Acrobat X Version 10.1.16.
Acrobat JavaScript Debugger Functions Version 10.0
Acrobat EScript Built-in Functions Version 10.0
Acrobat SOAP 10.0
I paste and run the following code in my JavaScript console. API.pdf is a JavaScript Acrobat API file, and TestFldr is an empty folder with just that file.
app.openDoc("C:\TestFldr\API.pdf");I receive the following output in the console.
NotAllowedError: Security settings prevent access to this property or method.
App.openDoc:1:Console undefined:ExecFurthermore, this code doesn't work in my privileged user folder when saved as a JavaScript file, Config.js. My privileged user folder is as follows.
C:\Users\Trey\AppData\Roaming\Adobe\Acrobat\Privileged\10.0\JavaScripts\Config.jsHow can I get around this?