Saving settings to a text file and restoring them. (Composition by usefuldesign.au)
This composition shows one way to save and restore a few numeric input values for a Cube Renderer Patch.
It has published boolean inputs in lieu of command buttons and you can toggle them either way to trigger a pulse to execute that command.
It has primitive error handling on the file loading, just checking for all 6 inputs as non-zero values. You can check the error handling by 1. opening the text file ("my_crazy_cube_settings.txt" gets saved in same folder as composition) 2. deleting some values and save 3. attempting to reload the file by toggling the Restore File input.
Hope you have the AGBook-Stencil font or the screen text will no doubt default to something ugly ;-)
N.B. If you want to use my settings file (you can easily write you own by triggering a Write File event) download it here
More like this