Determining all shortcut keys in use (including Function keys)?

Ask a Question related to Adobe Acrobat SDK, Design and Development.

  1. #1

    Default 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

  2. Similar Questions and Discussions

    1. 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...
    2. 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...
    3. #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: ...
    4. 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
    5. Shortcut keys
      This may help: http://www.winguides.com/registry/display.php/549/
  3. #2

    Default 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

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139