There are a number of different automation paths on MacOS, such as osascript, shortcut app, etc.
I wish to save a Mission Control Spaces "presets" set up - for example perhaps by double clicking on a desktop icon, using a keystroke or similar.
An ideal situation would be, when a monitor is connected/disconnected and/or at wake up, a script (?) runs which decides on how to set up Mission Control Spaces and/or choose from a "preset"
Is it possible?