I did something like this along time ago, i.e. before I discovered the power of automation software like ACP which has camera warm up functions after a night of observing such as just after dawn sky flats or if you just want to take calibration frames all night such as dark/bias frames.
The vbs script may or may not work for you, but its a starting point;
InitHost
CoolCamera
Dim S
Dim cam
Sub InitHost
Set S = WScript.Application
End Sub
Sub CoolCamera()
If Not IsObject(cam) Then Set cam = CreateObject("MaxIm.CCDCamera")
S.Sleep 3000
cam.CoolerOn = True
cam.TemperatureSetpoint = 0
End Sub
You can find many of the functions under the MaximDL help section such as here -
http://www.cyanogen.com/help/maximdl...reSetpoint.htm