Let's say that I am working using several spaces. In one of them I have 20 applications opened with their respective files. My computer crashes and I have to open everything again.
Instead I want to save this configuration so I can later reopen this configuration, and immediately open all these 20 applications with those files, and even better, reopen them in the same positions and sizes they had before.
I wonder if it could be done using AppleScript or something like that. If you give me hints, I can dig deeper and learn it.