Skip to main content
Participant
June 6, 2018
Answered

Just learned about javascript

  • June 6, 2018
  • 3 replies
  • 935 views

Hi Everyone!

So today I've just learned about using Javascripts (I'm dropping the .js file into the javascripts folder).  I'm not a professional in any of this and wanted to explain my current setup just for context.  We are a very small company (3 employees) and we have a single server running Microsoft Server 2016.  100% of our customer connect to the server via RDP and run a custom application.  We use a program that allows us to create pdf files in their home folder and then we display the pdf file and allow them to print, save or email it and of course page navigation.  The PDF viewer is really locked down (which is what we need).  We are using an open source PDF viewer which allows us to lock all features down that we don't need.  After coming across this javascript stuff today, I want to know if the following is possible using a "starup.js" script file.  Open Acrobat Reader, hide the menu bar (no, file, edit, view, etc), On the toolbar show only the Print button, PageUp, PageDown, # of Pages, ZoomOut, ZoomIn, ZoomValue and then two custom buttons, Button1 and Button2.  I think I can work on the code to program the function of the two custom buttons, but getting them on the toolbar is the main concern.  I really need the reader to be locked down.

Is this possible?

Thanks

Kevin

This topic has been closed for replies.
Correct answer try67

You can hide menu items, but not the entire toolbar (or even parts of it).

You can add new items to both.

3 replies

try67
Community Expert
try67Community ExpertCorrect answer
Community Expert
August 15, 2018

You can hide menu items, but not the entire toolbar (or even parts of it).

You can add new items to both.

shcsbakerAuthor
Participant
June 12, 2018

Is there anywhere I can go and try to pay someone to do this?

AnandSri
Community Manager
Community Manager
August 15, 2018

Hello Shcsbaker,

You may try the Adobe JavaScript forums space and the Adobe experts can assist you with the custom JavaScript JavaScript

Thanks,

Anand Sri.

Legend
June 6, 2018

Maybe but you can’t stop the user from getting right back all the UI you removed, or using keyboard shortcuts if available.

shcsbakerAuthor
Participant
June 6, 2018

I realize this, but most of my users don't know the keyboard shortcuts, etc