Hello All,
I have a need to customize Adobe Reader 9 to remove about 90% of the menu items. I managed to create a custom .js file that works but have a couple of questions.
1. I cannot seem to remove some of the menu options regardless of what I put in the .js file. I can't hide the View, Tools, Window or Help Menus.
I added the following to the .js file
app.hideMenuItem("Document");
app.hideMenuItem("Edit");
which both work but if I add app.hideMenuItem("View"); it still shows.... same for Help Tools or Window. I have removed all necessary sub menu items from these menus but wanted to " clean it up "
2. I have the .js script in the /opt/Adobe/Reader9/Reader/JavaScripts directory on a SuSE 11 box. When I start Adobe from the Firefox browser, it takes about 4 seconds for the menus to hide. Is there any way to run this quicker?
here is the script I have in the JavaScript folder. Maybe someone else could use the info in it.
Thanks,
Steve
// [File - Collaborate], plus toolbar button
//the following work perfectly
app.hideMenuItem("Annots:FileCollaboration");
app.hideToolbarButton("Annots:CollabToolButton");
app.hideMenuItem("SaveAs");
app.hideMenuItem("Open");
app.hideMenuItem("Reload");
app.hideMenuItem("WebServices:CreatePDF");
app.hideMenuItem("RecentFile1");
app.hideMenuItem("RecentFile2");
app.hideMenuItem("RecentFile3");
app.hideMenuItem("RecentFile4");
app.hideMenuItem("RecentFile5");
app.hideMenuItem("ADBE:SaveAsAccText");
app.hideMenuItem("AcroSendMail:SendMail");
app.hideMenuItem("GeneralInfo");
app.hideMenuItem("Document");
app.hideMenuItem("Edit");
//View Menu Items
app.hideMenuItem("GoTo");
app.hideMenuItem("Zoom");
app.hideMenuItem("View:ReviewTracker");
app.hideMenuItem("ReadAloud");
app.hideMenuItem("AutoScroll");
app.hideMenuItem("Toolbars");
app.hideMenuItem("Navigation");
app.hideMenuItem("ShowHideMenuBar");
app.hideMenuItem("ReadingMode");
app.hideMenuItem("FullScreenMode");
app.hideMenuItem("Rotate");
app.hideMenuItem("PageLayout");
//Document Menu Items
app.hideMenuItem("Document");
app.hideMenuItem("DIGSIG:DigitalSignatures");
app.hideMenuItem("ppklite:SecPolicySecureTask");
app.hideMenuItem("PUBSEC:AddressBook");
app.hideMenuItem("ppklite:UserSettings");
app.hideMenuItem("Accessibility:ReadingOptions");
app.hideMenuItem("ADBE:QuickAccCheck");
app.hideMenuItem("Accessibility:Wizard");
//Tools Menu Items
app.hideMenuItem("AnalysisToolsItem");
app.hideMenuItem("CustomizeToolbars");
//Window Menu Items
app.hideMenuItem("NewWindow");
app.hideMenuItem("Cascade");
app.hideMenuItem("Tile");
app.hideMenuItem("MinimizeAll");
app.hideMenuItem("FullScreen");
//Help Menu Items
app.hideMenuItem("About");
app.hideMenuItem("AboutAdobeExtensions");
app.hideMenuItem("Weblink:BuyAcrobat");
app.hideMenuItem("OnlineSupport");
app.hideMenuItem("HelpReader");