These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Disable keyboard shortcuts?

btellier
Registered: Mar 11 2008
Posts: 4
Answered

I've used Javascript to disable some menu items (such as prefs, printing, etc) but unfortunately the user can just use the keyboard shortcut instead. Is it possible to selectively disable some keyboard shortcuts, or, failing that, disable all keyboard shortcuts?

Thanks in advance!

My Product Information:
Reader 8.1.2, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
No, this is not possible at all from Acrobat JavaScript. There may be something you can do with a plugin. But I wouldn't bet on it.

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script

btellier
Registered: Mar 11 2008
Posts: 4
If not from JavaScript, perhaps from some registry key or group policy? Hard to believe Adobe has never had this functionality requested!
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
Oh, I'm sure they've had this request, going back to the first Arobat. But non the less, from what I can tell the shortcuts, they are locked in. Besides, you can't really block any functionality from the user. This is a security issue, they can always turn toolbar buttons back on, as well as hit shortcut keys.

But, it wouldn't surprise me if there were shortcut registry settings somewhere. If you find any, please let us know.

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script

gkaiseril
Expert
Registered: Feb 23 2006
Posts: 4307
Think real hard before turning off the short keys in the registry. If it is within the Acrobat keys it will turn the shortkeys off for Acrobat, but if it is in Windows keys you will be turning the shortcut keys off for all applications.

George Kaiser