save track pointer to file

Is it possible to save track pointer (from[]) to document and restore it from file after restart renoise? For example - i need to save (via renoise.documents.create()) a track mute states into file. In my next sessions (on this file) i need to restore mute states for track automatically. Is it possible?

local my_doc=renoise.documets.create(“MuteStates”)

for idx,trk ipairs(



how i could to restore state?

Thank you