hammerspoon2-docs
    Preparing search index...

    Function getDefaultHandler

    • Returns the bundle identifier of the default application for a URL scheme.

      Parameters

      • scheme: string

        The scheme to query, without :// (e.g. "https", "mailto").

      Returns string | null

      The bundle identifier string, or null if none is registered.