Ask a Question related to Adobe Acrobat SDK, Design and Development.
-
Jeff_Bowell@adobeforums.com #1
Determining all shortcut keys in use (including Function keys)?
I'm creating a Windows Acrobat 8 plug-in and would like to know how to find all the current shortcut keys. The Acrobat 8 SDK's Developing Plug-ins and Applications document states on page 34:
Menu commands can have shortcuts (keyboard accelerators). Acrobat and
Adobe Reader do not ensure that plug-ins add unique shortcuts, but it
is possible to programmatically check which shortcuts are already in use
before adding one.
However, it doesn't give any details on how to actually do this :(
Page 1863 of the Acrobat and PDF Library API reference says:
The Acrobat viewer does not check for conflicts between shortcuts. The
consequences of multiple menu items having the same shortcut is undefined.
I wrote a short routine that walks through all the menu items and uses AVMenuItemGetShortcut() to dump out the shortcuts. However, this technique doesn't seem to work for menu items that use functions keys like: View | Navigation Panels | Show Navigation Pane (F4).
More importantly, it entirely misses shortcut keys that don't seem to be tied to a menu item like F5 to "Move focus to document pane".
I anticipate that my plug-in would be easier to use if it could have at least a few shortcuts. But judging from even my partial dump of shortcut keys all Control + letter and Control + Shift + letter combos are already spoken for :(
I suppose I could use Control + Alt + letter and Control + Alt + Shift + Letter but that gets tough to type.
Therefore I'll probably end up using Function keys.
So... does anyone know of a way to get a list of all the shortcut keys in use by Acrobat 8. What is the secret way to "programmatically check which shortcuts are already in use?".
Jeff_Bowell@adobeforums.com Guest
-
Shortcut keys for shockwave
Are there any standard short cut input methods that work in all macromedia shockwave applications. For example Ctrl-C still copies and ctrl-v still... -
Shortcut keys for...
In DW, if I press Ctrl+1, it changes the text in the paragraph to Heading 1. Ctrl+2 for heading 2 etc. What is the shortcut key for bullets and... -
#21788 [Sus->WFx]: array_multisort() changes array keys unexpectedly given numeric strings as keys
ID: 21788 Updated by: sniper@php.net Reported By: jon at inet-specialists dot com -Status: Suspended +Status: ... -
changing or turning off windows xp shortcut keys
im having problems with the shortcut key in programs is there any way of changing the shortcut keys or even a way to turn them off -
Shortcut keys
This may help: http://www.winguides.com/registry/display.php/549/ -
Leonard_Rosenthol@adobeforums.com #2
Re: Determining all shortcut keys in use(including Function keys)?
I don't believe there is any public API for this.
Leonard
Leonard_Rosenthol@adobeforums.com Guest



Reply With Quote

