hammerspoon2-docs
    Preparing search index...

    Variable mailtoCallback

    mailtoCallback:
        | (
            (
                scheme: string,
                host: string,
                params: Record<string, string>,
                fullURL: string,
                senderPID: number,
            ) => void
        )
        | null

    Callback invoked when Hammerspoon 2 receives a mailto: URL. Fires only when Hammerspoon 2 is the system default handler for mailto. Assign null to remove the callback.