hammerspoon2-docs
    Preparing search index...

    Function spaceForUUID

    • Finds a space by its UUID. Unlike IDs, macOS keeps space UUIDs across logins, so this is how to find a space you saved in an earlier session.

      Parameters

      • uuid: string

        The space's UUID

      Returns HSSpace | null

      The HSSpace, or null if there's no space with that UUID