hammerspoon2-docs
    Preparing search index...

    Function systemAssigned

    • Check whether macOS itself has already claimed a key combination (e.g. for Spotlight, screenshots, etc.)

      Parameters

      • mods: string[]

        An array of modifier key strings

      • key: string | number

        A key name or character, or a numeric virtual key code

      Returns Record<string, any> | null

      An object with keyCode, mods and enabled fields if the combination is system-assigned, otherwise null