Hi,
I need to destroy all the headers of pdf files in a directory. I included COMP:RemoveHeadFoot in the registry but I cant get the menu window poping in the batch script.
The function in congig.js : myTrustedMenu = app.trustedFunction( function( name )
{
app.beginPriv();
app.execMenuItem(name);
app.endPriv();
});
and my batch file : myTrustedMenu("COMP:RemoveHeadFoot");
Thanks for your help )
My Product Information:
Acrobat Pro 8.1 / Windows
Offline

Instead of using a JS, why not create a new sequence via the Gui, adding empty headers and footers to a PDF. This will overwrite any headers and footers added with Acrobat.
Offline
AcrobatUsers.com >> User Groups • News • Events • Articles • Blogs • How To • Resources • Member Log in