• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Just learned about javascript

New Here ,
Jun 06, 2018 Jun 06, 2018

Copy link to clipboard

Copied

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

TOPICS
Acrobat SDK and JavaScript

Views

557

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Aug 15, 2018 Aug 15, 2018

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

You can add new items to both.

Votes

Translate

Translate
LEGEND ,
Jun 06, 2018 Jun 06, 2018

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 06, 2018 Jun 06, 2018

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 12, 2018 Jun 12, 2018

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Aug 15, 2018 Aug 15, 2018

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 15, 2018 Aug 15, 2018

Copy link to clipboard

Copied

LATEST

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

You can add new items to both.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines