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

Finding the privledged folder? Adobe XI pro on XP

$
0
0

I've got the following code:

 

myTrustedSaveAs = app.trustedFunction( function ( doc, path )
{
app.beginPriv();
doc.saveAs({
cPath: path,
bCopy: true,
bPromptToOverwrite: true
});
app.endPriv();
});
myTrustedOpenDoc = app.trustedFunction( function ( path )
{
app.beginPriv();
app.openDoc({
cPath: path
});
app.endPriv();
})

 

C:\Documents and Settings\my.name\Application Data\Adobe\Acrobat\Privileged\11.0\JavaScripts\init.js

 

When I try to call the function in my PDF, it says the funciton is not defined.

 

Is there somewhere else this file needs to be?

 

More generally, our users have a number of combinations of Adobe reader 9-11, writer 9-11 on XP and Windows 7.

Is there someplace which lists where all the privledged folders are supposed to be?   If not, a funciton in Adobe to provide the path would sure be useful...


Viewing all articles
Browse latest Browse all 12130

Trending Articles