hammerspoon2-docs
    Preparing search index...

    Function tempDirectory

    • Returns the temporary directory for the current user. The path is fully resolved (e.g. /private/var/folders/... rather than the /var/folders/... symlink), so it matches the path of files created by hs.fs.tempFile().

      Returns string

      Absolute temporary directory path, with symlinks resolved (always ends with /).