View Single Post
Old 06-18-2015, 03:25 PM   #52
airon
Human being with feelings
 
airon's Avatar
 
Join Date: Aug 2006
Location: Berlin
Posts: 11,818
Default

Quote:
Originally Posted by spk77 View Post
Yes, that would be very difficult if there are "tables in tables". I don't know how they should be stored in an ini file.
I tried to use the approach of saving the data as a Lua script, i.e. using the serializing examples from the Programming Lua book in the Data Structure section.

The problem is I can't create a new file. Something is either not right, or I'm not doing it correctly. I constantly get errors about the file not being writable.

With a mechanism like that, it would be easy to save presets. Now the script will at least remember the last setting, and nobody has to start from scratch every time they call it up.
__________________
Using Latch Preview (Video) - Faderport 16 setup for CSI 1.1 , CSI 3.10
Website
"My ego comes pre-shrunk" - Randy Thom
airon is offline   Reply With Quote