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

        The key name or character

      Returns Record<string, any> | null

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