hammerspoon2-docs
    Preparing search index...

    Interface HSOSAScriptResult

    The outcome of running a script

    interface HSOSAScriptResult {
        raw: string;
        result: any;
        success: boolean;
    }
    Index
    raw: string

    Raw string representation of the result, or the error message on failure

    result: any

    Parsed return value of the script, or null on failure

    success: boolean

    true if the script ran without error