Using backspace or Fn keys as accelerators in buttons

Are there sequence for &Backspace or &F8 or &PrtSc . . . in buttons?

That is, is it possible to use the Backspace and Space and Fn feys and other keys as accelerator keys in buttons? Or are we restricted to letters and numbers?

The question applies to ordinary DOpus buttons, and to buttons that are part of a script dialogue.

Letters and numbers only.

You can use keys like F8 as hotkeys.

(Hotkeys and accelerators are slightly different things.)

Thanks, Jon and Leo. It's always worth asking with DOpus.

Well yes, hotkeys can. But not accelerators.

I did some experiments, and found that besides numbers and letters, the following keyboard characters seem to work as accelerator keys in the dialogue buttons of a script addin:

  • Without the Shift key , . / ; ' [ ] - = ` (obviously not \ )
  • With the Shift key < > ? : { } _ ~ (obviously not " | + )
  • Shift + number key ! @ # $ % ^ * ( ) (obviously not & )

Interestingly, the space key works as an accelerator key in an ordinary DOpus button, but seems not to work not in a script addin button --- which is what lead me to ask the question in the first place.

All sorts of traps could be lurking for those using such accelerator keys, but I thought it was worth reporting.