Professional Web Applications Themes

Determining all shortcut keys in use (including Function keys)? - Adobe Acrobat SDK

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 doent 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 ...

  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 doent 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 doent 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. #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

Similar Threads

  1. alignment shortcut keys
    By javith in forum Brainstorming Area
    Replies: 0
    Last Post: November 25th, 06:43 AM
  2. Shortcut keys for shockwave
    By nicknameforthisthing in forum Macromedia Shockwave
    Replies: 0
    Last Post: December 28th, 01:41 PM
  3. Shortcut keys for...
    By in forum Macromedia Dreamweaver
    Replies: 0
    Last Post: July 25th, 04:59 PM
  4. changing or turning off windows xp shortcut keys
    By phil in forum Windows XP/2000/ME
    Replies: 1
    Last Post: July 11th, 02:58 PM
  5. Shortcut keys
    By krammai in forum Adobe Photoshop Elements
    Replies: 2
    Last Post: July 4th, 08:09 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not 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