hammerspoon2-docs
    Preparing search index...

    Function tags

    • Get the Finder tags assigned to a file or directory.

      Parameters

      • path: string

        Path to the file or directory. ~ is expanded.

      Returns string[] | null

      Array of tag name strings, or null if no tags are set.