Tell us exactly what you want the script to do, and you may find some help.
I'm in radio and I use theater of the mind so I use a lot of production elements in my breaks. Most of the time it is the music file that is too loud. So I have to attinuate the wav and then fade in the wav to get the desired effect. What I'm looking for is a way to have an "attinuate and fade script" by highlighting and pressing a short cut key instead of trying to ride the gain over and over again.
Thank you for your help,