Acrobat User Community Forums

You are not logged in.     Log in to your AUC account.     Don't have an account? Sign up today

#1 2007-10-22 16:18:40

acoderre
Member
Registered: 2007-10-22
Posts: 0

Delete headers

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

 

#2 2007-10-25 10:08:41

SimonATS
Member

Registered: 2007-07-26
Posts: 9

Re: Delete headers

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

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson

AcrobatUsers.com  >>  User Groups • News • Events • Articles • Blogs • How To • Resources • Member Log in