Hello everyone, I first want to thank several people who have helped me overcome the problems I experienced in the post I published previously.
Now I want something that can minimize processing time, namely automatically arranging all materials in the "Reflection" and "Scale" sections in the material editor menu.
I have previously tried asking ChatGPT but every script provided always does not work as I expected, below I have attached the detailed section marked in red for the settings I want to make which can change automatically as I expected from "1.0" to "0.0"

and this is script that ChatGPT wrote to me
allMaterials = getClassInstances PhysicalMaterial
if allMaterials.count > 0 then
(
for mat in allMaterials do
(
if mat.hasProperty #reflectivityMap then
mat.reflectivityMap.amount = 0.0
if mat.hasProperty #subsurfaceScattering then
mat.subsurfaceScatteringScale = 0.0
)
format "All Physical Materials have been updated.\n"
)
else
(
format "No Physical Materials found in the scene.\n"
)