/build/static/layout/Breadcrumb_cap_w.png

Hide Menu Items from Adobe Acrobat , Reader.

Disabling Menus and Buttons

To disable UI elements, you will first need to list all of the elements by name. To do this, save the following script as ListItems.js in %ProgramFiles%\Adobe\Reader 9.0\Reader\JavaScript.

Here’s the code you’ll need to hide those items. Copy and paste into HideItems.js, then copy into %ProgramFiles%\Adobe\Reader 9.0\Reader\JavaScripts.

//HideMenu.js
// [File - Create Adobe PDF Using Acrobat.com], plus toolbar button
app.hideMenuItem("WebServices:CreatePDF");
app.hideToolbarButton("Weblink:CreatePDF");

// [File - Collaborate], plus toolbar button
app.hideMenuItem("Annots:FileCollaboration");
app.hideToolbarButton("Annots:CollabToolButton");

// [File - Digital Editions]
app.hideMenuItem("eBook:Digital Edition Services");

// [Help - Improvement Program Options]
app.hideMenuItem("UsageMeasurement");

// [Help - Online Support], plus sub menu items
app.hideMenuItem("OnlineSupport");
app.hideMenuItem("KnowledgeBase");
app.hideMenuItem("AdobeExpertSupport");
app.hideMenuItem("AccessOnline");
app.hideMenuItem("SystemInformation");

// [Help - Repair Adobe Reader Installation]
app.hideMenuItem("DetectAndRepair");

// [Help - Check for Updates]
app.hideMenuItem("Updates");

// [Help - Purchase Adobe Acrobat]
app.hideMenuItem("Weblink:BuyAcrobat");

0 Comments   [ + ] Show comments

Answers (2)

Posted by: timmsie 13 years ago
Fourth Degree Brown Belt
0
you should add this to the knowledge base article - http://www.appdeploy.com/packages/browse.asp?cat=alpha&str=a

Unless you're asking a very well disguised question [:D]
Posted by: anonymous_9363 13 years ago
Red Belt
0
Actually including ListItems.js would be good, too! :-)

Also, please use the CODE tag when posting code or other lengthy text.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ