Well....if it selected the right one, then use that code and then insert the AS code that actually sets the slider to the value you want.
This is THE book for applescript. You can go a really long ways with it.
Here's a good start on how to GUI script.
Also, you need UI Element inspector to allow you to tell what the name of the control is. It's
here.