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

How to show or hide a button based on pre defined keyboard shortcut in adobe javascript?

Community Beginner ,
Aug 26, 2020 Aug 26, 2020

Copy link to clipboard

Copied

I want to show or hide button based on keyboard shortcut in adobe javascript. I am using Adobe acrobat Pro. I have a compnmay logo and i need to browse the image required for specific set of users.  Hence the browse button to upload the image should be shiown  or hidden based on the  keyboard shortcut set via adobe javascript or so for those users. 

TOPICS
Acrobat SDK and JavaScript

Views

62

Likes

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 26, 2020 Aug 26, 2020

Copy link to clipboard

Copied

You can't apply a keyboard shortcut to buttons in a file, if that's what you mean.

Likes

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 Beginner ,
Aug 26, 2020 Aug 26, 2020

Copy link to clipboard

Copied

I meant the browse button to upload image will b hidden.. It whould be visible only for  certain users who have the privilege will have the  button visible with a pre defined keyboard short cut key  set via Adobe javascript. If not posisble, is there any option to do the same.

Likes

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 26, 2020 Aug 26, 2020

Copy link to clipboard

Copied

LATEST

No, it's not possible to do it like that. It is possible to attach a password to these buttons, though.

Likes

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