What is the best way to have a script do the following:
1. Memorize the user's current render settings.
2. Do something cool, that involves the script first changing a dozen render settings. (I know how to do this bit)
3. Restore the user's saved render settings, exactly as they were before.