Skip to main content
Alex Doubts
Known Participant
August 26, 2020
Question

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

  • August 26, 2020
  • 1 reply
  • 478 views

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. 

This topic has been closed for replies.

1 reply

try67
Community Expert
Community Expert
August 26, 2020

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

Alex Doubts
Known Participant
August 26, 2020

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.

try67
Community Expert
Community Expert
August 26, 2020

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