hammerspoon2-docs
    Preparing search index...

    Interface HSMenuShortcut

    A keyboard shortcut spelled out, for the shortcut of a menu item. Modifier and key names are the same as for hs.hotkey.bind()

    interface HSMenuShortcut {
        key: string | number;
        mods?: string[];
    }
    Index
    key: string | number

    The key: a numeric virtual key code, a character, a key name such as "return", "delete", "left" or "f5", or the symbol a menu draws for it such as "↩"

    mods?: string[]

    The modifier keys, e.g. ["cmd", "shift"]. Leave out for no modifiers