hammerspoon2-docs
    Preparing search index...

    Function allSpaces

    • Every space on every screen, screen by screen, each in Mission Control's order. Screens are in the order macOS lists them, which is also the order Mission Control numbers desktops in.

      Returns HSSpace[]

      An array of HSSpace objects