hammerspoon2-docs
    Preparing search index...

    Function named

    • Creates a sound object for a built-in system sound by name. Returns null if no sound with that name can be found. Use hs.sound.systemSounds() to discover available names.

      Parameters

      • name: string

        The name of a system sound, e.g. "Basso" or "Glass".

      Returns HSSound | null

      An HSSound object, or null on failure.