Get the fader value and set it to a gain plugin? How?

Does anyone know if it’s possible using a macro, or the logical editor to get the fader value, and set that value into a gain plugin in an automated way?

After I get my static balance, I like to set the fader value into a gain plugin so I can reset all faders to zero for automation purposes.

Is there any way to script this instead of manually going through each track, opening the gain plugin and copy/paste the value and then resetting the fader?