List desktops (Spaces)
hs_list_spacesList all macOS Spaces with their IDs, types, current status, and desktop positions to identify which Space is active.
Instructions
List macOS Spaces across all screens with their id, type, and which one is current. User desktops also carry a 1-based position, which is the number people mean by "desktop 2" and what the Ctrl+N shortcuts match. Fullscreen app spaces have no position.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||