hammerspoon2-docs
    Preparing search index...

    Function windowsOnScreen

    • Get all windows on a specific screen

      Parameters

      • screenIndex: number

        The screen index (0 for main screen)

      Returns HSWindow[]

      An array of windows on that screen