TextMeshPro acces all properties with script

Hello,
I have been struggling with TextMeshPro trying to change the font, but keeping the text effects. Can somebody provide me a script with all the parameters that are adjustable on a TMP, please. So that I can change any fontMaterial setting with script. I found snippets here and there, but my script is not complete.
Thx in advance.

Ok, I think I found what I need at