TPC; store and recall slider values

Hi there,

On out TPC we have multiple sliders. Everything is working fine. But we are looking for a solution to store the values of the sliders.

For example:

Slider001 is at 50%
Slider002 is at 75%

When pressing Button001 the values of slider001 and 002 are stored somewhere.
When pressing Button002 the values of slider001 and 002 are set to the stored values.

I tried to save the values to a file using io.open and io.write, but I don't think it was successfull. What will be the best solution to store and recall these values?

Thanks in advance.

Related