Script to apply body skin

Hi
How to create a script to apply textures to a body and set all channels (Metallicity, Roughness, Translucency, Glossy, Refraction, Bump, etc...) ?
Also, it would be nice if to apply the script we could choose the body parts.
Currently I am doing this manually and it is very laborious.
Maybe there is another method than scripts.
Comments
? Save out Material Presets => loads whatever you have it set to.
Thank you.
This saving of material is very useful. Also, the thumbnail makes it easier to use the material preset.
However, it is a pity that the duf file is binary. A text file would have allowed the generation of the materials preset with an external program.
you can save the duf without compression
Thank you
I hadn't noticed the checkbox.
The text file is really interesting.