Highlighted

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

New Here ,
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, Create PDFs, PDF forms

Views

38

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

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

New Here ,
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, Create PDFs, PDF forms

Views

39

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
Aug 26, 2020 0
Most Valuable Participant ,
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
Reply
Loading...
Aug 26, 2020 0
New Here ,
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
Reply
Loading...
Aug 26, 2020 0
try67 LATEST
Most Valuable Participant ,
Aug 26, 2020

Copy link to clipboard

Copied

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
Reply
Loading...
Aug 26, 2020 0