These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Javascript to turn on Extend Features in Acrobat Reader

Evan Goldstein
Registered: Aug 30 2010
Posts: 21

Hi,
 
Is there Javascript code that can be applied to a button that will extend features to Acrobat Reader. I see that some menu commands are available under Action, but not this one.
 
Thanks,
Evan

My Product Information:
Acrobat Pro, Macintosh
George_Johnson
Expert
Registered: Jul 6 2008
Posts: 1876
No, not a button in a PDF.

To save a few clicks, I've created a custom toolbar button that executes the menu item.
Evan Goldstein
Registered: Aug 30 2010
Posts: 21
So this can't be done as an action? I already have a button on the Form so the author can make a field that only they need to populate Read_Only prior to sending the Form out. I wanted to add the Extended Features to this function so they did not have to remember to Extend the Features.

gkaiseril
Expert
Registered: Feb 23 2006
Posts: 4308
If you need to process a very large group of forms on a regular basis, you can purchase the Live Cycle ES server product.

George Kaiser

George_Johnson
Expert
Registered: Jul 6 2008
Posts: 1876
You can create a folder-level JavaScript that contains a function that you can call to execute the menu item. For example:

var UBDoc = app.trustedFunction(

function () {

app.beginPriv();
app.execMenuItem("DIGSIG:UBDoc");
app.endPriv();

}

);


Then call the function in a button action:

// Extended features
UBDoc();


You will probably want to hide the button as well if it's no longer needed.