parseAccelerator

Parse an accelerator string such as "Ctrl+Shift+N" or "F5".

Recognizes the Ctrl/Control, Alt and Shift modifiers (in any order and case), letter and digit keys, function keys F1F24, and the common named keys (Up, Delete, Enter, …). Returns a result with valid false for an empty or unrecognized string.

version(Windows)
parseAccelerator
(
string spec
)

Meta