I'm interested in understanding the contents of com.apple.spaces.plist because I'm trying to develop a solution to the problem of restoring apps to their original Spaces after a restart.
Looking at the value of the Space Properties property inside this plist, I see some information that looks relevant to the problem I'm trying to solve:
"Space Properties": [
{
"name": "",
"windows": [
8557,
114,
183,
91
]
},
{
"name": "40ED97C0-613E-4E9F-ADCB-B0E4A1788987",
"windows": [
8557,
114,
188,
337,
338
]
},
...
I assume the IDs under each windows property are the IDs of the applications in each Space. Is that correct?
Can I somehow, by editing this plist after a reboot, restore these window IDs to the Spaces they were assigned to before a reboot, and thus get all my windows back to where they were?
python, here's one line that does the same:defaults read com.apple.spaces.plist– user3439894 Apr 15 '20 at 21:19com.apple.spaces.plist– Allan Apr 15 '20 at 21:21