Reopen windows in their original spaces after restart or logging back in

After restarting my computer or logging back in, there’s an option to “reopen” windows. How can I setup TotalSpaces to “reopen” windows (apps, folders, browsers, PDFs, etc) in their original spaces? This way, I don’t have to reorganize my windows, PDFs, and apps into their respective spaces after I restart my computer.

The only way for TotalSpaces2 to help you is to assign apps to particular spaces in the Apps prefs. Then at least those apps will open in the right spaces. TotalSpaces2 doesn’t, unfortunately, know anything about individual windows of apps.