hammerspoon2-docs
    Preparing search index...

    Function getHotkeys

    • Get a list of all currently-enabled hotkeys

      Returns {
          enabled: boolean;
          key: string | number;
          keyCode: number;
          message: string | null;
          mods: string[];
      }[]

      The enabled hotkeys

      • enabled: boolean

        Whether the hotkey is enabled

      • key: string | number

        The key, as it was given when the hotkey was created

      • keyCode: number

        The key's virtual key code

      • message: string | null

        The hotkey's message

      • mods: string[]

        The hotkey's modifier keys