hammerspoon2-docs
    Preparing search index...

    Function pathForFileType

    • Fetch filesystem path for an application able to open a given file type

      Parameters

      • fileType: string

        The file type to search for. This can be a UTType identifier, a MIME type, or a filename extension

      Returns string | null

      The path to an application for the given filetype, or il if none were found